[users@httpd] self-referential URL's and load balancer

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

 



I have a problem with the self-referential URL's being generated by Apache
when a hardware load balancer is front ending it.

The load balancer listens on port 443, decrypts SSL and forwards standard
http to Apache on port 13443 on the culster machines. The problem I
encounter is when Apache generates self-referential URL's for mod_dir
trailing slash redirects and mod_rewrite redirects, it is sending the
protocol as http and the port as 13443. So for instance, the brower
requests:

https://www.example.com/test

The redirect returned by Apache is:

http://www.example.com:13443/test/

which is invalid on the load balancer and no longer SSL.

I want it to be:

https://www.example.com/test/

I have tried setting UseCanonicalName Off without success. I can remap the
port with the port directive, but it still changes the https to http.

Any suggestions??


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