[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Zope & SSL on Raq 3
- Subject: [cobalt-users] Zope & SSL on Raq 3
- From: "Michael Hooper" <designcompany@xxxxxxxx>
- Date: Thu Jan 11 12:52:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Date: Thu, 11 Jan 2001 19:05:14 +0000
From: Simon Blandford <home@xxxxxxxxxxxxx>
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Zope & SSL on Raq 3
Reply-To: cobalt-users@xxxxxxxxxxxxxxx
Hi,
I need to get Zope running with SSL via Apache. So far Zope is working
via Zserver on port 8080. I fully understand that the httpd.conf file
is not something to be messed with by the faint hearted so I thought to
check here to see if anyone else has experience of doing this before I
take any risks.
Main question is, can the httpd.conf file be modified or is it
completely overwritten every time a change is made via Site
Administration?
Regards,
Simon B.
All the site directives are overwritten in the httpd.conf file.
Here's how you work around it.
In the httpd.conf file right below
#<VirtualHost host.some_domain.com>
#ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxxx
#DocumentRoot /www/docs/host.some_domain.com
#ServerName host.some_domain.com
#ErrorLog logs/host.some_domain.com-error_log
#TransferLog logs/host.some_domain.com-access_log
#</VirtualHost>
I added this line (without the quotes)
'Include /etc/httpd/conf/whatever.conf'
This won't be overwritten because it is above all the virtual site
directives. Then I created the 'whatever.conf' file with the modified
virtual directives. I just copied it from the httpd.conf file and made the
necessary changes.
If it is on a dedicated IP don't forget to add the 'NameVirtualHost
209.xxx.xxx.xxx'at the beginning of the Virtual directive.
Hope this helps...
Mike Hooper
designcompany@xxxxxxxx