On Wed, May 20, 2009 at 12:13:54PM +0700, Alex Grebenshchikov wrote:
> Hello,
>
> I've just upgraded Apache from version 1.3. to 2.0.63.
> No mod_php is used, PHP is used via suPHP.
>
> Everything seems to work fine, but failes with Options +MultiViews.
>
> If we access a page by link http://domain.com/page.php - that's ok.
>
> But, when we access a page by link http://domain.com/page with MultiViews set
> on, suPHP does not parse the script and we see raw php code (nothing in suphp
> log for that request).
>
>
>
>
> AddHandler x-httpd-php4 .php4
> AddHandler x-httpd-php5 .inc .php .php3 .php5 .phtml
>
>
> suPHP_Engine on
> suPHP_ConfigPath /usr/local/etc/php5/cgi/
> suPHP_AddHandler x-httpd-php4
> suPHP_AddHandler x-httpd-php5
>
>
>
> It's not a question to use or not to use MultiViews. It's the question, how
> to make it works properly.
>
> Please, help.
>
> Regards,
> Alex Gr.
You have to tell apache that http://domain.com/page is a PHP script, not
a page. It does this by looking at the request, not the actual filename
on the filesystem.
> ___
> suPHP mailing list
> suPHP@lists.marsching.biz
> http://lists.marsching.com/mailman/listinfo/suphp
signature.asc
Description: Digital signature
___
suPHP mailing list
suPHP@lists.marsching.biz
http://lists.marsching.com/mailman/listinfo/suphp