Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-18-2009, 04:47 PM   PM User | #1
wiggie
New to the CF scene

 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
wiggie is an unknown quantity at this point
.htaccess question

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?
wiggie is offline   Reply With Quote
Old 09-18-2009, 05:05 PM   PM User | #2
hinch
Regular Coder

 
hinch's Avatar
 
Join Date: Sep 2005
Location: UK
Posts: 921
Thanks: 25
Thanked 79 Times in 79 Posts
hinch is on a distinguished road
delete

xml|

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

db|conf|class

instead
__________________
A programmer is just a tool which converts caffeine into code

My work: http://www.fcsoftware.co.uk && http://www.firstcontactcrm.com
My hobby: http://www.angel-computers.co.uk
My life: http://www.furious-angels.com
hinch is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:53 PM.


Advertisement
Log in to turn off these ads.