[thelist] mod_rewrite hell

Jakob Dölling alligotar at gmx.net
Fri May 25 05:27:07 CDT 2001


Morn'
> > > 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.

You'll never learn out ;-) . My thought is, if he wants to have to
redirect his /travel-dir to that PHP-thingie, the rewrite-rules for that
dir need to be defined in his web root.

Jakob Dölling
-- 
To Unix or not to Unix. That is the question whether 'tis nobler in the
mind to suffer slings and arrows of vast documentation or to take arms
against a sea of buggy OS and by raping the support lines end then?
;>

Contact:
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/Jakob Dölling     \/EMail:     mailto:alligott at yahoo.com      \/
<>Treuerzipfel 13   <>ICQ #:     47326203                       <>
/\D-38678 Clausthal /\ICQ pager: mailto:47326203 at pager.icq.com  /\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
/\Webmaster of http://www.bank-ic.de/                           /\
\/--------------------------------------------------------------\/




More information about the thelist mailing list