httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <dan...@covalent.net>
Subject Re: Apache2 and php
Date Mon, 04 Feb 2002 23:39:49 GMT
> 
> /you must replace :
> 
> LoadModule php4_module modules/libphp4.so
> AddType application/x-httpd-php .php

Actually, both approaches should work. Although PHP is implemented as a
filter, when you do the AddType application/x-httpd-php .php, it will insert
itself in the filter chain. You can also do it explictly as you described below:

> By
> 
> LoadModule php4_module modules/libphp4.so
> <Files *.php>
> SetOutputFilter PHP
> SetInputFilter PHP
> </Files>/
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message