httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gawain <>
Subject [users@httpd] Disabling PHP parsing on a per-directory basis
Date Sun, 22 Jun 2003 21:09:51 GMT
I'd like to be able to disable php parsing in a directory in a 
virtual host where files can be uploaded.

I've built a "file browser" type of app in PHP to allow more-or-less 
trusted users to upload files for others to download. The files live 
in a hierarchy of directories below the document root of the virtual 
host, starting with an enclosing "files" directory. Even though I 
don't believe there's much risk of one of the users uploading a 
malicious (or benign) PHP script to the files directory, I'd like to 
disable PHP parsing for it and all directories below the "files" 

How would I do this?


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