[linux] Disabling PHP in specific directories
Jesse Weigert
jessew at u.washington.edu
Sat Mar 26 23:59:19 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I was wondering if it was possible to stop apache from running php
scripts in specific directories. In particular, I have a few
directories which apache has write access to so people can upload files.
~ I have taken precautions to make sure only specific types of files
can be uploaded into these directories, but I want to make sure that in
case a php script is uploaded that directory, apache won't be able to
execute it.
I still want to be able to serve other files from that directory, just
not php.
Thank you,
- --
Jesse Weigert
PGP key: http://students.washington.edu/jessew/jesseweigert.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
iD8DBQFCRmfXY5IVgI4AZMERAjcxAJ97MvtZcD3jNMvEK57c3O0+ghS0tACglTBb
51pPJ9f9k3XDekhc6JGj6vg=
=LD+I
-----END PGP SIGNATURE-----
More information about the Linux
mailing list