httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] PHP Not Working
Date Wed, 15 Jun 2011 20:23:40 GMT
>> On 10.06.11 00:03, Jeroen Geilman wrote:
>>> You need to tell apache what to do with .php files.
>>> This can be implemented - as documented - by adding
>>> <FilesMatch \.php$>
>>>      SetHandler application/x-httpd-php
>>> </FilesMatch>
>>> in your Documentroot Directory block.

> On 06/15/2011 10:13 PM, Matus UHLAR - fantomas wrote:
>> Since when they recomment something different than AddHandler?

On 15.06.11 22:17, Jeroen Geilman wrote:
> Who are "they" ?

the PHP people apparently...

> The above is the recommended way on the apache httpd wiki:  

Aha, I see:

"Instead of only using the Apache AddType directive, we want to avoid
potentially dangerous uploads and created files such as exploit.php.jpg from
being executed as PHP."

> We also unerringly advise it on freenode's #httpd channel.

Who are "we"? ;)
Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a teepee: no Windows, no Gates and an apache inside...

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message