httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego, Emil" <edi...@exchange.sba.miami.edu>
Subject [users@httpd] Question about redirects using RewriteMatch
Date Thu, 19 Nov 2009 14:13:54 GMT
There are some sections of the site that I wanted to setup aliases for so when you browse to
www.bus.miami.edu/businessmiami/, www.bus.miami.edu/inthenews/ and www.bus.miami.edu/embapr/
you automatically get redirected to the specified page.

RedirectMatch /businessmiami(/|$) "http://www.bus.miami.edu/news-and-media/publications/busmiami/index.html"
RedirectMatch /inthenews(/|$) "http://www.bus.miami.edu/news-and-media/in-the-news/index.html"
RedirectMatch /embapr(/|$) "http://www.bus.miami.edu/graduate-programs/executive-mba/emba-off-campus/puerto-rico/index.html"

I encountered a problem where I had an image in a folder /_assets/images/businessmiami/cover.jpg.
 The web page wouldn't load the image because the link was getting redirected because of the
RedirectMatch.  I'm not sure why it's not working correctly.  Anyone have any suggestions.

Thanks,
Emil Diego

Mime
View raw message