httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] One Apache ( having two hostname but one IP ) for two websites
Date Wed, 27 Apr 2011 00:28:04 GMT
On 4/26/2011 3:30 AM, Tushar Chavan wrote:
>  3.  Now problem is but when I type http://Apache_host_2/irj , re-directs to
> http://example_1.com/irj . We need to re-direct this      to https://example_2.com/irj
>      ( This is because users may bot type https. Can you please give me a hint to fix
this )

example_1 is not (and never was) example_1.com ... see ServerAlias to
recognize more than one variant.  If you log the Host: header, you'll
see the difference of what your browser sent.

And tell us you aren't using underbars, these aren't valid in DNS.


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