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." <[email protected]>
To: [email protected]
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: [email protected]
  "   from the digest: [email protected]
For additional commands, e-mail: [email protected]
____________________________________________________________
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

Reply via email to