>>>
>> It's an apache feature. It does the same for .pl files.
> 
> It's not.
> 
> Without suphp it doesn't happen.

Ahh my apologies - it is apache.

I completely missed that the normal php module uses AddType:

<IfModule mod_php5.c>
   AddType application/x-httpd-php .php .phtml .php3
   AddType application/x-httpd-php-source .phps
</IfModule>

and it doesn't have this problem.


The suphp module uses addhandler:

AddHandler x-httpd-php .php .php3 .php4 .php5 .phtml


So per the apache manual (
http://httpd.apache.org/docs/2.2/mod/mod_mime.html#multipleext
) I modified my config:

<FilesMatch \.php$>
        AddHandler x-httpd-php .php .php3 .php4 .php5 .phtml
</FilesMatch>

and that fixed it.


Sorry for all of the noise.

-- 
Best Regards,

Chris Smith
PHP Product Manager
Lead Developer
Interspire - The World's Best Selling Webware
http://www.interspire.com

_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp

Reply via email to