[colug-432] Setting up apache2 test server to show php formatted source (ubuntu 10.10)

Scott Webster Wood treii28 at yahoo.com
Fri Apr 22 11:51:29 EDT 2011


I tried it under the <Directory /var/www/> and still getting:

[Fri Apr 22 11:50:04 2011] [error] [client 127.0.1.1] script '/var/www/query.phps' not found or unable to stat

--- On Fri, 4/22/11, Scott Merrill <skippy at skippy.net> wrote:
> From: Scott Merrill <skippy at skippy.net>
> Subject: Re: [colug-432] Setting up apache2 test server to show php formatted source (ubuntu 10.10)
> Scott Webster Wood <treii28 at yahoo.com>
> wrote:
> > #  RewriteEngine On
> > #  RewriteRule (.+\.php)s$ $1
> [H=application/x-httpd-php-source]
> > #  RewriteRule ^(.+\.php)s$ $1
> [T=application/x-httpd-php-source]
> 
> Try this: [T=application/x-httpd-php-source,PT]




More information about the colug-432 mailing list