httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip Cuccio <chips...@norlug.org>
Subject Re: [users@httpd] Disable php in userdir
Date Thu, 11 Mar 2004 18:37:32 GMT
* Mario Ohnewald <mario.Ohnewald@gmx.de>
  |__ Thu, Mar 11, 2004 at 04:50:30PM +0100:
> Hello!
> I want to tighten the seurity in the userdir directory, and i was wondering
> how i could disable php.
> I played around with 
> <Directory /home/*/public_html>
>     RemoveHandler php php3 php4
> But i wasnt successful.

Try the following directive:

    <Directory /home/*/public_html>
        php_admin_flag engine off
    </Directory>

-- 
Chip Cuccio                    |  <chipster@norlug.org>
NORLUG VP and Sysadmin         |  <http://norlug.org/~chipster/>
Northfield Linux Users' Group  |  Northfield, Minnesota USA


Mime
View raw message