...

View Full Version : Allowing certain file extensions only



TheJoey
04-29-2010, 02:06 PM
hey guys i was wondering how i would go about only allowing the file extensions that are .html & .php?

i seen examples but there all to denie file types and that doesnt seem efficient.

TheJoey
04-29-2010, 02:15 PM
<FilesMatch "*.(html|php)">
Order allow, deny
Allow from none
Deny from all
</FilesMatch>

did some reading anyone want to tell me if this is a good way or doing it and if it is correct?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum