Rewrite no longer working
3 posts
• Page 1 of 1
Rewrite no longer working
I'm hoping someone can assist. My rewrite was working and now it stopped and I have no idea why. I don't know if I accidentally changed something or what. Here is what I have right now, if you see any errors, please help!
RewriteCond %{HTTP:Host} ^www\.harrisburgu\.edu$ [NC]
RewriteRule ^/online-graduate-degrees$ http://166.78.104.118/online-graduate-degrees [NC,P,L]
I just want to proxy pass www.harrisburgu.edu/online-graduate-degrees to http://166.78.104.118/online-graduate-degrees while keeping the URL www.harrisburgu.edu.
thanks!
RewriteCond %{HTTP:Host} ^www\.harrisburgu\.edu$ [NC]
RewriteRule ^/online-graduate-degrees$ http://166.78.104.118/online-graduate-degrees [NC,P,L]
I just want to proxy pass www.harrisburgu.edu/online-graduate-degrees to http://166.78.104.118/online-graduate-degrees while keeping the URL www.harrisburgu.edu.
thanks!
Re: Rewrite no longer working
I actually have this working now. The problem I'm running into is on the new site http://166.78.104.118/online-graduate-degrees none of the subfolders work. I tried appending a /.* to the end of my rewrite rule but that then makes all of the links go to the same page if that makes sense. In summary, the redirect/proxy pass is working, but I cannot get any links below this folder to work properly.
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Rewrite no longer working
Hello,
Since it's a proxying, we had to create a ProxyPass rule in .htaccess file to resolve this.
Regards
Andrew
Since it's a proxying, we had to create a ProxyPass rule in .htaccess file to resolve this.
Regards
Andrew
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 10 guests