httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Love" <stephenl...@juno.com>
Subject Re: [users@httpd] One Apache ( having two hostname but one IP ) for tw o websites
Date Wed, 27 Apr 2011 00:40:39 GMT
I figured you could have it identify by name instead of IP PORT. I am not sure myself, how
to sort by PORT, but name recognition works great.
See us online at http://www.LOVEnCompany.com.

---------- Original Message ----------
From: "William A. Rowe Jr." <wrowe@rowe-clan.net>
To: users@httpd.apache.org
Subject: Re: [users@httpd] One Apache ( having two hostname but one IP ) for two websites
Date: Tue, 26 Apr 2011 19:28:04 -0500

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
____________________________________________________________
Groupon&#8482 Official Site
1 ridiculously huge coupon a day. Get 50-90% off your city&#39;s best!
http://thirdpartyoffers.juno.com/TGL3131/4db766726ccc9f6065st03vuc
Mime
View raw message