PHP source display
| From: | Lists | Date: | Fri, 10 Oct 2003 19:41:31 +0000 |
| Subject: | PHP source display | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165783@lists.php.net to get a copy of this message | ||
When I used apache 1.3 I could call a file with an extension of .phps and
it would display formatted source.
In apache 2.0 it does not do this
Here is my config from apache 2.0
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
I have tried doing:
<Files *.phps>
SetOutputFilter PHPS
SetInputFilter PHPS
LimitRequestBody 524288
</Files>
However, that does not work!
Any ideas?
Michael