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 )