Redirect loop |
Redirect loop |
jimlongo |
Mar 30 2007, 10:44 PM
Post
#1
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
on a unix server how can I redirect the following from mydomain.com/Generals to subdomain.mydomain/Generals
What i have now in my .htaccess file is RedirectPermanent /Generals http://subdomain.mydomain.com/Generals also tried RedirectMatch permanent ^/Generals$ http://subdomain.mydomain.com/Generals Either gives me a redirect loop that won't resolve. tia, jim |
jimlongo |
Mar 31 2007, 01:16 PM
Post
#2
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Thanks Darin,
I love the line . . . "With mod_rewrite you either shoot yourself in the foot the first time and never use it again or love it for the rest of your life because of its power." |
pandy |
Mar 31 2007, 02:51 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Crap. I suspected that was the answer. I realized I nowadays have the same situation as you do. The CP forces the location of subdomains' root folders inside the main domain's folder. I suck at mod_rewrite or anything else that involves regex.
|
Lo-Fi Version | Time is now: 19th April 2024 - 05:22 PM |