Hello! Two messages from a user, that probably will help me to debug the module and the problem with locations. Thanks, Bill! Message one: On Mon, 10 Apr 2000, Bill Mair wrote:
Hi Oleg,
you don't know me but I would like to share some debugging info that I have preened from apache and your wonderful mod_pcgi2.
What I am trying to do is set up a virtual host on apache, using Zope as the content handler:
<VirtualHost 193.197.0.45> ServerName www.linux-thinkpad.org [SNIP]
<Location /> SetHandler pcgi-handler PCGI_ROOT / PCGI_SetEnv SiteRootPATH / </Location> </VirtualHost>
I know that your documentation says that it won't work, but what I did find out was the following:
1) If a file matching the definition DirectoryIndex in httpd.conf exists the VirtualHost DocumentRoot then that file is passed to pcgi2 for interpretation.
2) If there is no DocumentRoot for the VirtualHost then apache looks for the matching file in what I believe is the default DocumentRoot (normally something like index.html).
3) The result of 1) or 2) is then passed to pcgi2 for evaluation. But if 1) and 2) deliver nothing then the directory contents of the DocumentRoot are listed.
For fun I added PCGI2 to the DirectoryIndex and defined a DocumentRoot for the VirtualHost and did "touch PCGI2" in it's DocumentRoot.
And guess what, mod_pcgi2 got a request for the uri /PCGI2.
I don't know if this helps, but I hope you can find a solution for the <Location /> problem based on what I have found out.
Please let me know what you think.
Bill.
Oleg. ---- Oleg Broytmann http://members.xoom.com/phd2.1/ phd2@earthling.net Programmers don't die, they just GOSUB without RETURN.
participants (1)
-
Oleg Broytmann