[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Warning !!
- Subject: RE: [cobalt-developers] Warning !!
- From: "Michael Hooper" <designcompany@xxxxxxxx>
- Date: Tue Jan 30 21:38:01 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Kal Amry wrote:
<Cobalt People is it a bug or what! Please comment.
<From my previous post, I complained about losing my entries that I make to
a
<VirtualHost in the httpd.conf. Now, I know what's causing it, and I
<appreciate any comments.
<If anyone is running an e-commerce site on the Raq 4 and he is using, let's
<,say an additional Rewrite rule to change between http and https, then if
he
<for any reasons change the primary DNS under the "General Setting" (in
<Control Panel) or the Secondary DNS; and then he hits save, then everything
<added to the VirtualHost will get deleted except of course for the cobalt
<default. Thus, this means that I need to go each time and find out what I
<added and do it again and again.!!!! WHY. Is there a solution if this is a
<normal behavior, although I don't see why would additional entries be
<deleted when they were working fine without harming the server!!!!
<Kal Amry
If I understand correctly, Cobalt gui is overwriting any changes to
httpd.conf?
If so, I ran into a similar problem trying to scriptalias a cgi-bin.
Try using an include on the httpd.conf file
Find in httpd.conf:(Will be just above all VirtualHost settings)
#<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>
#Add
Include /etc/httpd/conf/extra.conf
This include line will not be written over be the cobalt gui.
In this extra.conf (or what ever you want to call it), copy the VirtualHost
from httpd.conf, then you can add to, or edit the Virtual settings with no
fear of being overwritten. It will append the httpd.conf file.
Restart httpd and you should be set...
Let me know if it does the trick.
Best regards,
Mike Hooper
www.gnm.ca