If you have multiple users' pages sitting under one directory you can make it more secure with
RemoveType directive, just place .htaccess in the top level directory. For example:
/www is the web server root
/www/users is the directory where user directories are
/www/users/dummy is the directory where user named dummy keeps his/her webpages
Create .htaccess in /www/users and put the following lines in it. I'm assuming you will not
allow users create files starting with . (dot)
RemoveType .cgi
RemoveType .php
Add / remove other types depending on what you are runnig on your server.
|