httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Disable php in userdir
Date Thu, 11 Mar 2004 16:55:49 GMT

Mario Ohnewald wrote:

>>>I want to tighten the seurity in the userdir directory, and i was
>>>how i could disable php.
>>>I played around with
>>><Directory /home/*/public_html>
>>>    RemoveHandler php php3 php4
>>>But i wasnt successful.

What EXACTLY are the path names to the files in question?  The "*" 
matches only a single path segment.

Also, how are you configuring php in the first place?  If you are using 
a magic mime type with AddType, then a RemoveHandler might not work, 
since you never explicitly added the handler in the first place.

In any case, it would seem to make more sense to use something like

<Files .php*>
Order allow,deny
Deny from all


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