[users@httpd] Fiddling with mod_proxy Output

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

 



Hey,
I'm using mod_proxy to give people outside my LAN access to an
internal web page.  The problem is, the web server being used to serve
that page (Xitami) makes poor use of redirect headers.  When a
directory is requested with out a trailing slash (eg /foo instead of
/foo/), a 302 is sent back but the Location: provided is the IP
address of the server instead of the hostname requested (eg: Location:
http://192.168.1.2/foo/ instead of http://xitami.example.com/foo/).
I have been fiddling with the Xitami config, but things don't look
hopeful.  Is there any way I can use Apache/mod_proxy to change that
header to what it should be (a 301 and the correct location)?
Thanks,
David

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