Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file access (APACHE)

Status
Not open for further replies.

pibe

Technical User
May 2, 2001
2
0
0
PE
basically what i want to do is have all of my files, with a common extension, to not be viewed at all.

what i have working is the following
<Files *.someExtension>
Order allow,deny
Deny from all
</files>

it restricts access to any file with *.someExtension in the root directory but any subdirectory i am able to view files with *.someExtension.
how do i make it work for the subfolders?

thanks
 
Try change it this way:

<Files ~ &quot;^\.extension&quot;>
Order allow,deny
Deny from all
</Files>

I got this from httpd.conf file.

ttest
thum@starwarsfan.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top