httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] directoryindexing or what?
Date Wed, 19 Oct 2011 15:06:54 GMT
On 19/10/2011 11:03 AM, Georgi Georgiev wrote:
> I have that lines on the config, but the result is same. One person sayed
> here that ifmudule line is wrong. Whether the problem may be here? I added
> new lines so there is
> #<FilesMatch "^\.ht">
>   #   Order allow,deny
>    #  Deny from all
>     # Satisfy All
> #</FilesMatch>
>
>
> <FilesMatch \.php$>
> SetHandler application/x-httpd-php
>     SetHandler application/x-httpd-php-source
> </FilesMatch>
>   is it right?
>

Georgi,

You're not using IfModule, and you shouldn't really either.

Also, "SetHandler application/x-httpd-php-source" is wrong in this context.

You only need "SetHandler application/x-httpd-php" to process .php files.

Frank

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message