Hi,

I need to redirect URLs that contain host name aliases to our Web server 
host name.  I see the resin.conf directive:

<rewrite-dispatch>
   <moved-permanently regexp='^/foo' target='/bar'/>
</rewrite-dispatch>

But I can't figure out how to apply it to rewriting the host name.

For example.  Our host hame is "www.host.com".  If someone uses one of 
the following URLs to visit our site, we need a 301 redirect to the same 
URL with the host name replaced.  For example:

http://host.com/        => http://www.host.com/

or

https://www1.host.com/sercure/index.jsp  =>
                      https://www.host.com/sercure/index.jsp

thanks for the help.

Keith




-- 
-----------------------------------------------------------------
Keith Fetterman                          206-780-5670
Mariner Supply, Inc.                     [EMAIL PROTECTED]
http://www.go2marine.com


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to