location uri wildcard

grd2345 nginx-forum at nginx.us
Tue Jun 10 16:31:25 UTC 2014


I recently converted my website from asp.net and have the following links
out there that I would like to permanent redirect to my new url, but I seem
to not be able to  create this. My goal is to create one rewrite or
something that can handle all of these.

The old urls are as follows.

http://www.mysite.com/(X(1)S(kt54xgv5mfifsmkgxo5eqk2m))/ClassScheduler.aspx?AspxAutoDetectCookieSupport=1

http://www.mysite.com/(X(1)S(kt54xgv5mfifsmkgxo5eqk2m))/ClassScheduler.aspx

http://www.mysite.com/ClassScheduler.aspx

-----------------------------------------

I basically need a wild card to detect ClassScheduler.aspx from the above
old urls and redirect to http://www.mysite.com/classScheduler

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250768,250768#msg-250768



More information about the nginx mailing list