DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29961>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29961 DirectoryIndex'es fail to get proxied. Summary: DirectoryIndex'es fail to get proxied. Product: Apache httpd-2.0 Version: 2.0.46 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: mod_dir AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] I have set up a dual apache system -- a front-end and a back-end that runs CGI scripts. I wanted to proxy all .cgi files in a directory, including index.cgi, which is set up by DirectoryIndex. I have the following configuration: DirectoryIndex index.cgi <Location /index.cgi> ProxyPass http://127.0.0.1:8088/index.cgi </Location> However, by default, this does not work: [EMAIL PROTECTED] root]# telnet localhost 80 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. GET / HTTP/1.1 Host: plato HTTP/1.1 404 Not Found Date: Wed, 07 Jul 2004 19:26:14 GMT Server: Apache Content-Length: 198 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL / was not found on this server.</p> </body></html> This bug is similar to bug 15112, only the patch provided there does not work in my case (not sure about mod_rewrite). I found an old thread: http://archive.apache.org/gnats/3596 which allowed me to patch mod_dir.c to allow such proxying (note rr->proxyreq check). It is not clear however, whether mod_dir or mod_proxy is to be fixed. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
