Rewrite no longer working

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 5
Joined: 10 Jun 2013, 14:09

Rewrite no longer working

14 Jun 2013, 17:45

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!

User avatar
Posts: 5
Joined: 10 Jun 2013, 14:09

Re: Rewrite no longer working

14 Jun 2013, 20:07

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.

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Rewrite no longer working

17 Jun 2013, 09:58

Hello,

Since it's a proxying, we had to create a ProxyPass rule in .htaccess file to resolve this.

Regards
Andrew

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 10 guests