httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Hyman" <mhy...@yahoo.com>
Subject [users@httpd] Quick question about domains
Date Thu, 27 Mar 2003 04:43:54 GMT
Hi there,

Our web site cgi software looks at the domain of the called-URL to determine
whether you are coming from an internal site or an external site.

Now a customer wants to get to our site using their dns name, and our
address. This presents a problem for us, since now the called URL will be
different, and our software will think the request is coming from a
non-priviledged place.

In other words:

We are www.somedomain.com/cgi-bin/go.cgi?slkdjsdlkfj, with
www.somedomain.com resolving to 192.168.1.1

They are www.otherdomain.com  and they want to make a new DNS entry called
theirwww.otherdomain.com and have it resolve to 192.168.1.1.

So, how do I get apache to swap out the domain names? I have a feeling
mod_rewrite is correct, but I am not sure.

I appreciate the help on this...Michael




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message