Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Apache
Author Message
XenoMorpH
Hangin' Around



Joined: Jan 23, 2004
Posts: 37
Location: Netherlands

PostPosted: Thu Dec 14, 2006 4:45 pm Reply with quote

Hey there,
I have a protected sub folder by using
Code:
<Files>

Order Deny,Allow
Deny from all

</Files>

1 file must be allowed access to. how do I do that?
Tried:
Code:
<Files filename>

Order Deny,Allow
Allow from all
</Files>


Bust doesn't see m to work
 
View user's profile Send private message Visit poster's website
NoFantasy
Worker
Worker



Joined: Apr 26, 2005
Posts: 114

PostPosted: Thu Dec 14, 2006 5:30 pm Reply with quote

Code:
<Files ~ "\.(php|txt)$">

  order allow,deny
  deny from all
</Files>

Assuming you have a html-file you want to be accessible and the rest not, this is the way...you didn't say anything about it, so...
 
View user's profile Send private message
XenoMorpH







PostPosted: Fri Dec 15, 2006 4:35 am Reply with quote

worship worked Smile....Tnx Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Apache

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©