Re: ProxyPassReverse Incorrectly Handling Redirects

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

 



On 29/10/2007, Selvig, Andy <Andy.Selvig@xxxxxxxxxxxx> wrote:
> The problem comes in when the application sends redirects to relative
> pages. If the application redirects to /main/list, my browser goes to
> this page:

That's perhaps because the Location: header of redirects must always
be a full url. If you're using restful routes in rails, try _url
rather than _path.

Better still, figure out how to tell rails that it's routed at
/wtbasement/ rather than /. I've a suspicion that it's possible but
dependant on how rails is hosted (rails/fastcgi/etc). That'd remove
the need for mod_proxy_html altogether. Perhaps you could fiddle
routes.rb to fit?

-- 
noodl

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