Re: One Apache ( having two hostname but one IP ) for two websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux