RE: [users@httpd] proxypassreverse redirection

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

 



It's exactly what I need ! 401 with proxyerroroverride displays my new page but keeps displaying www-auth box.Do you have a sample of such a script I could use to change 401 -> 404 for instance ?

Fabian

-----Message d'origine-----
De : jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] De la part de Joshua Slive
Envoyé : jeudi 9 février 2006 19:15
À : users@xxxxxxxxxxxxxxxx
Objet : Re: [users@httpd] proxypassreverse redirection

On 2/9/06, Frederick, Fabian <Fabian.Frederick@xxxxxxxxxxxxx> wrote:
>     Is it possible to redirect a proxypassreverse in some cases ? eg 
> if internal server returns a 401 I'd like to avoid displaying auth box.

ProxyErrorOverride may work for this (I haven't tried myself).  But you'd need to point ErrorDocument 401 on the proxy server to a cgi script that would rewrite the status code.

Joshua.

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


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