mod_rewrite redirect to subdir

1 reply [Last post]
Offline
Joined: Dec 20 2003
Posts: 20

Hey...

I'm trying to get a second domain set up for my site and I want to get the two domains to direct to different pages... basically, I want the following.

http://elgatodesigns.net/* --> /home/www/elgatode/* --> http://elgatodesigns.net/*

http://pr0p.net/* --> /home/www/elgatode/propNet/* --> http://pr0p.net/propNet/*

The thing is, right now, they both point to /home/www/elgatode/ and this is a hosted site, so I can't add VirtualHost directives.

I need a mod_rewrite expression that'll filter requests to pr0p.net/* and push them to pr0p.net/propNet/*, without affecting elgatodesigns.net

~n

__________________

hotline.catsandbutts.com - Info-Mac Mirror - u/p in profile

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Offline
Joined: Dec 20 2003
Posts: 20
Crap... I also forgot to ment

Crap... I also forgot to mention that any requests to pr0p.net/cgi-bin/ need to be left alone... else YaBB won't work.

~n

__________________

hotline.catsandbutts.com - Info-Mac Mirror - u/p in profile