Forum Moderators: coopster

Message Too Old, No Replies

.phps?

.phps cannot be loaded in browser

         

andy18

9:26 pm on May 13, 2003 (gmt 0)

10+ Year Member



Hello,

I have some problem displaying .phps on my linux box.

I have checked on httpd.conf and ensure that the following is added to it :

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps

I have also checked in php.ini that the output_buffering = Off

But when I try to execute the .phps on the browser , the file cannot be loaded showing some DNS error. ( Does this make any sense? )

Then , I try to access the page in ssh using lynx command :

Looking up www.domain.org
www.domain.org
Making HTTP connection to www.domain.org
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://www.domain.org/php/test.phps'
Alert!: Unable to access document.

lynx: Can't access startfile

Hope some one might help me out.

Thanks

Andy

marcs

1:59 am on May 14, 2003 (gmt 0)

10+ Year Member



Do your Apache error logs show anything relating to those request?
Does the file (and directory it is in) have world readable permissions?
Can your view other file types (say .php) in that same directory?