homepage Welcome to WebmasterWorld Guest from 107.20.34.144
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
2 htaccess files are causing problems
keevill

10+ Year Member



 
Msg#: 3587654 posted 12:50 am on Feb 29, 2008 (gmt 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 .

 

jdMorgan

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



 
Msg#: 3587654 posted 1:20 am on Feb 29, 2008 (gmt 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.

Jim

keevill

10+ Year Member



 
Msg#: 3587654 posted 2:04 am on Feb 29, 2008 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved