[Zope-CMF] Zope behind Apache

P Kirk patrick@enterprise-hr.com
Mon, 15 Jul 2002 16:55:39 +0100


I moved Zope's port from 80 to 8080 and gave it /tmp/zope.soc
as opposed to just -w 80.

Being a bear of little brain, I couldn't make the proxy stuff work.

I moved everything back.

Couldn't login at all.  Reran zpasswd.  Removed the zope.soc stuff.

Zope restarts.  I login. My ACL user list is empty as are two test sites
I was using to learn zope.  One of them had a lot of stuff in it I don't
have copies of anywhere else.

Where is my content gone?  Surely moving port doesn't result in total
data loss?  What do I need to do see to it again?

Thanks in advance!

Patrick



On Mon, Jul 15, 2002 at 01:56:00PM +0200, Bert Vanderbauwhede wrote:
>On Mon, 15 Jul 2002, P Kirk wrote:
>
>> Hi all,
>>
>> I run Zope on port 80.  I want to put it on a high port number and run
>> Apache.  I have ADSL with dynamic IPs.
>>
>> Searches on Google and zope.org bring up many and varied ways of setting
>> this up.  Some dated 1999 - some more recent.  Some require a PhD to
>> understand.  Some seem to contradict one another.
>
>I have Zope/Apache/FastCGI running on Linux, and this is how I've done it:
>
>1) Install the FastCGI-module for Apache (see http://www.fastcgi.com).
>2) Modify httpd.conf:
>
>   # FastCGI-module
>   LoadModule fastcgi_module modules/mod_fastcgi.so
>   AddModule mod_fastcgi.c
>
>   ...
>
>   # Document Root
>   DocumentRoot "/var/www/html/zope"
>
>   # FastCGI
>   FastCgiIpcDir /tmp
>   FastCgiExternalServer /var/www/html/zope \
>                         -socket zope.soc \
>                         -pass-header Authorization
>   Options ExecCGI
>   SetHandler fastcgi-script
>
>3) Add the flag '-F /tmp/zope.soc' to the zope start-script.
>4) Create the empty file /var/www/html/zope, and set the permissions to
>   0777.
>
>Restart Zope and Apache, and it should work.
>
>
>Bert Vanderbauwhede...
>---
>"Age. Fac ut gaudeam."