PDA

View Full Version : .htaccess question


wiggie
09-18-2009, 05:47 PM
Hi, I know literally nothing about .htaccess. In fact, I'm borderline retarded. Here's my question. I have the following in my .htaccess:

#############
# block requests for the following files
#############

<Files ~ "\.(xml|db|conf|class)$">
Order allow,deny
Deny from all
</Files>

But I want to allow xml. What do I do?

hinch
09-18-2009, 06:05 PM
delete

xml|

from the first line (don't forget to delete thepipe too)
so that line reads

db|conf|class

instead