PCGI and MS-IIS on Nt5
Greetings all, I've searched through Zopesite and a few docs on setting up Zope with MS-IIS, but I cannot get PCGI to work.... I followed BriaH's document and did everything. I CAN access http://localhost:8080/scripts/zope.pcgi and get what I want to see in <dtml-var REQUEST>... so, technically I did set it up correctly, but I want to configure the default document so when I just put in: http://localhost I will get the root folder of my zopesite WITH the PCGI working. Now, I need to use: http://localhost:8080 I get my website, but PCGI is not working, as I can see in <dtml-var REQUEST> that it isnt connecting the PCGI. Without PCGI, my SQL Session will not work. If I goto http://localhost/scripts/zope.pcgi, I get what I want with the PCGI, but I cannot use the site because the links do not work. Can anyone explain what Im doing wrong? TIA, Paz
I suffered similar problems when I tried IIS on Windows 2k. Some people have reported success however, so there must be some knack to this. I found http://my.server.com/zope.pcgi worked but http://my.server.com/zope.pcgi/as/asd didn't... If you get it working I'd love to know how. Sorry I cant be more help. -- Andy McKay. ----- Original Message ----- From: "Paul Zwarts" <paul.zwarts@oratrix.com> To: <zope@zope.org> Sent: Monday, January 29, 2001 2:09 AM Subject: [Zope] PCGI and MS-IIS on Nt5
Greetings all,
I've searched through Zopesite and a few docs on setting up Zope with MS-IIS, but I cannot get PCGI to work....
I followed BriaH's document and did everything. I CAN access http://localhost:8080/scripts/zope.pcgi and get what I want to see in <dtml-var REQUEST>...
so, technically I did set it up correctly, but I want to configure the default document so when I just put in:
I will get the root folder of my zopesite WITH the PCGI working. Now, I need to use:
I get my website, but PCGI is not working, as I can see in <dtml-var REQUEST> that it isnt connecting the PCGI. Without PCGI, my SQL Session will not work.
If I goto http://localhost/scripts/zope.pcgi, I get what I want with the PCGI, but I cannot use the site because the links do not work.
Can anyone explain what Im doing wrong?
TIA, Paz
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
From: Paul Zwarts
so, technically I did set it up correctly, but I want to configure the default document so when I just put in:
For that the easiest solution is to put a redirect in your root to: http://localhost/scripts/zope.pcgi either through a server setting or through an asp script with a "Response.Redirect('scripts/zope.pcgi')" You could also put your zope.pcgi in your root folder and make it a default document (just like 'default.htm', 'index.asp' etc), but somehow I guess that that will bring your troubles later on.
I will get the root folder of my zopesite WITH the PCGI working. Now, I need to use:
If I goto http://localhost/scripts/zope.pcgi, I get what I want with the PCGI, but I cannot use the site because the links do not work.
If you are not using Zope 2.3 You will probably want to use: http://www.zope.org/Members/4am/SiteAccess2 It can change your links so that they will match the ugly /scripts/zope.pcgi url that you get through IIS. Regards Max M
Hi there,
For that the easiest solution is to put a redirect in your root to: http://localhost/scripts/zope.pcgi either through a server setting or through an asp script with a "Response.Redirect('scripts/zope.pcgi')"
You could also put your zope.pcgi in your root folder and make it a default document (just like 'default.htm', 'index.asp' etc), but somehow I guess that that will bring your troubles later on.
Thanks for the input... but it doesnt seem to work. I get: <TD WIDTH="90%"> <H2>Zope Error</H2> <P>Zope has encountered an error while publishing this resource. </P> <P><STRONG>exceptions.ImportError</STRONG></P> (<class ZODB.POSException.StorageSystemError at 668838>, 'Could not lock the database file. There must be\012another process that has opened the file.\012<p>') <!-- Traceback (innermost last): File E:\!BRAIN~1\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\!BRAIN~1\lib\python\ZPublisher\Publish.py, line 130, in publish File E:\!BRAIN~1\lib\python\ZPublisher\Publish.py, line 270, in get_module_info File E:\!BRAIN~1\lib\python\Zope\__init__.py, line 110, in ? File E:\!BRAIN~1\lib\python\ZODB\FileStorage.py, line 262, in __init__ File E:\!BRAIN~1\lib\python\ZODB\lock_file.py, line 115, in lock_file ImportError: (see above) For that matter, it seems the normal convention doesnt work anymore of going through the pcgi file, so something has definatley gone wrong. Should IIS be configured for the pcgi file to be a header or...? I'll try the siteaccess, but i assume its in 2.3? how is it invoke if it is a built in product? Thanks again, Paz Max M wrote:
From: Paul Zwarts
so, technically I did set it up correctly, but I want to configure the default document so when I just put in:
For that the easiest solution is to put a redirect in your root to: http://localhost/scripts/zope.pcgi either through a server setting or through an asp script with a "Response.Redirect('scripts/zope.pcgi')"
You could also put your zope.pcgi in your root folder and make it a default document (just like 'default.htm', 'index.asp' etc), but somehow I guess that that will bring your troubles later on.
I will get the root folder of my zopesite WITH the PCGI working. Now, I need to use:
If I goto http://localhost/scripts/zope.pcgi, I get what I want with the PCGI, but I cannot use the site because the links do not work.
If you are not using Zope 2.3 You will probably want to use:
http://www.zope.org/Members/4am/SiteAccess2
It can change your links so that they will match the ugly /scripts/zope.pcgi url that you get through IIS.
Regards Max M
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Andy McKay -
Max M -
Paul Zwarts