[thelist] mod_rewrite hell

Anthony Baratta Anthony at Baratta.com
Fri May 25 02:29:11 CDT 2001

At 12:23 AM 5/25/2001, you wrote:
> > in my .htaccess in the travel directory
>                          ^^^^^^^^^^^^^^^^
>I'm unfamiliar with mod_rewrite, but shouldn't be the .htaccess ideally
>be kept in the root directory of domain?

.htaccess can be used anywhere you need to modify Apache's behaviour. It 
also affects child directories. Having it in the web root will affect ALL 
directories of the site, and I don't think that is want he wants with his 
current solution.

I use several .htaccess files thoughout my sites to modify Apache for 
different reasons and stuff them into their target directories because I 
don't want that behaviour site wide. One such behaviour is File Indexing, 
which I definitely don't want site wide. ;-)
Anthony Baratta
Keyboard Jockeys

More information about the thelist mailing list