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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two htaccess files conflicting

Status
Not open for further replies.

dmacster

Technical User
Jan 28, 2005
670
US
Not used to having to do this.

Our server hosts 3 or so sites for us. In the root, there is an htaccess file containing only
Code:
DirectoryIndex index.htm

In one of the sites (the dept using this accesses and updates w/FrontPage), the directory contains an htaccess file that says
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>
AuthType Basic
AuthName theaegis.com
AuthUserFile /usr/[URL unfurl="true"]www/users/aegis/main/_vti_pvt/service.pwd[/URL]
AuthGroupFile /usr/[URL unfurl="true"]www/users/aegis/main/_vti_pvt/service.grp[/URL]

If the DirectoryIndex index.htm is added to the secondary htaccess, only listing of the files appears online. Without it, the main site home page (index.html) appears fine. But subdiretories that contain their own index.html files show as just a listing.

What the dept wants fixed is to have any subdirectory that has it's own index file to display correctly.

How can I fix that for them?

Sorry that's so long.

Donna
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top