Re: "AddType application/x-httpd-php-source .phps" is not working
| From: | domains at modwest dot com | Date: | Sun, 13 Apr 2003 05:47:59 +0000 |
| Subject: | Re: "AddType application/x-httpd-php-source .phps" is not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143645@lists.php.net to get a copy of this message | ||
Your telnet session doesn't mean anything special. All telnet sessions for
any web page will look exactly like that.
Are you sure that srm.conf is Included by httpd.conf?
Did you restart apache after making the AddType in srm.conf?
--
http://modwest.com
PHP/MySQL web hosting
On Sat, 12 Apr 2003, Bill Shupp wrote:
> All,
>
> .phps files do not work correctly, or not at all in most cases. I have
> this in srm.conf:
>
> AddType application/x-httpd-php-source .phps
>
> And using the server-info handler, Apache reports this in its
> configuration. However, a simple test.phps file containing this:
>
> <?php phpinfo(); ?>
>
> ...will not display any data. Here's an example telnet session with
> Apache:
>
> bash-2.05a$ telnet localhost 80
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> GET /test.phps HTTP/1.0
>
> Connection closed by foreign host.
>
> I'm using Apache 1.3.20 and PHP 4.3.1. I do remember in the past
> (version 4.0.6 of PHP) that some .phps files would return about the
> first half of the data, then close the connection. While other files,
> like the simple example above, would not return any data.
>
> Any thoughts?
>
> Regards,
>
> Bill Shupp
>
>
>