httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] mod_rewrite
Date Wed, 13 Nov 2002 17:56:54 GMT

On Wed, 13 Nov 2002, Harland Christofferson wrote:
> For example, when my server serves
> http://my.generichostname.com:3030/~user/stuff/
> I wish the location window to read http://stunning.webstuff.com/

You cannot fake hosname/port using mod_rewrite (or any other tool,
really).  This is a basic feature of the web; how would you like it if any
old site could pretend to be www.microsoft.com?

Clients will always display the hostname/port to which they made the
request.  You can't change that.  If you are trying to get around
port-blocking of port 80, then you can't do it like this.  If you have
some other reason for trying to do this, please be explicit about it, and
perhaps someone can suggest another technique.

Joshua.



---------------------------------------------------------------------
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