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@xxxxxxxxxxxxx> To: users@xxxxxxxxxxxxxxxx Subject: Re: 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx