Reply
.htaccess not effecting subdirectories
Old 06-27-2006, 12:35 AM .htaccess not effecting subdirectories
Skilled Talker

Posts: 51
Hey,

I modified my .htaccess so that it has styling from a header and footer HTM docs. Only problem is, the .htaccess does not effect all the subdirectories. For example, in my situation, i have a series of downloads folders that may have subs created in them by people other than me. So my problem is i want the styling to automatically be generated on those folders without me having to go back and copy a header.htm, footer.htm and .htaccess.

My code is as follows:
Code:
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.foothillsbaptist.org
AuthUserFile /home/footh4/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/footh4/public_html/_vti_pvt/service.grp
Options +Indexes
   IndexOptions FancyIndexing SuppressDescription SuppressHTMLPreamble FoldersFirst
   HeaderName header.htm
   ReadmeName footer.htm
   IndexIgnore header.htm footer.htm .htaccess direclogo.gif
suPHP_ConfigPath /home/footh4/public_html
Thanks for your help.
msaz87 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-27-2006, 08:14 AM Re: .htaccess not effecting subdirectories
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Do the sub dirs have htaccess files in them? If so they will override your top level htaccess.

Thats the only reason I can think of why its not working at a sub level. htaccess by default cascades through all sub dirs unless one of those has a htaccess file in it which overides the parent.

Ibbo
__________________
www.nationalclubgolfer.com www.sportspub.co.uk www.bespokecc.co.uk www.centralmarquees.co.uk
Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Reply     « Reply to .htaccess not effecting subdirectories
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11890 seconds with 12 queries