Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

2 htaccess files are causing problems

12:50 am on Feb 29, 2008 (gmt 0)

New User

10+ Year Member

joined:Nov 13, 2003
posts: 26
votes: 0

I am using a htaccess file in the root folder to use for " RewriteEngine On " arguements but I also have a folder below the root folder where I would like to use for directory file browsing so I have another htaccess file with the
"Options Indexes" arguement.
They are clashing as I now realise and the htaccess in the root folder with the rewrite engine arguement prevents the options indexes from working.
Is there a way I can allow dir browsing either using htaccess or another workaround in the folder which beneath the root folder?
I have a bunch of files in this folder which I want to allow users to browse and download their required files .
1:20 am on Feb 29, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

How, specifically, do you believe they are clashing?

Note that using "Options Indexes" ins the subdirectory as opposed to "Options +Indexes" will disable the RewriteEngine for URLs which resolve to that subdirectory.


2:04 am on Feb 29, 2008 (gmt 0)

New User

10+ Year Member

joined:Nov 13, 2003
votes: 0

aha ! That solved it
I didn't have the "+" sign.
Many thanks