0

I need a rewrite rule to change requests for a specific script on one domain and sub-domain to another domain and path:

http://domain-one.com/cgi-bin/38837728.cgi
or
http://www.domain-one.com/cgi-bin/38837728.cgi

to
http://somwhere-else.net/cgi-bin/abc/38837728.cgi

I have other domains that share the same script directory as domain-one.com and www.domain.com. But I only want to redirect requests for domain-one.com and www.domain.com, not anything else!

Thanks in advance.

4
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by manojsamtani
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.