Re: [users@httpd] mod_rewrite - Reverse Proxying CGIs with PATH_INFO to a Backend

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

 



On Thu, May 12, 2005 at 11:27:06AM +0100, Nick Kew wrote:
> Erm, if the CGI is proxied, then all you can determine is whether
> a proxy request will be executed.  What the backend does internally
> is its business.
> 
> Maybe what you really want is to make your proxy into a 404
> errordocument?

Both CGIs and static pages are served out of AFS.  The backend has
ExecCGI turned on, the frontend has it turned off.  Without any
RewriteRules in place, the frontend would see that a URL refererences
a CGI (even with PATH_INFO), but then would send a 403 because ExecCGI
is turned off.  So at some point the frontend does realize that the
request is for a CGI.

Using an ErrorDocument for 403 in conjunction with mod_rewrite might
work.  I'll play around with it some and see what I can do.

Thanks again,
Keith Bare

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