[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ2--custom edits to httpd.conf
- Subject: Re: [cobalt-users] RaQ2--custom edits to httpd.conf
- From: "Neil J. Kemp" <guyver@xxxxxxxxxx>
- Date: Fri Dec 17 02:54:18 1999
Create a file called extra.conf (name can be changed) and then in your
/etc/httpd/conf/httpd.conf find the section:
#Listen 12.34.56.78:80
# VirtualHost: Allows the daemon to respond to requests for more than one
# server address, if your server machine is configured to accept IP
packets
# for multiple addresses. This can be accomplished with the ifconfig
# alias flag, or through kernel patches like VIF.
# Any httpd.conf or srm.conf directive may go into a VirtualHost command.
# See also the BindAddress entry.
#<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>
Include /etc/httpd/conf/extra.conf
And add that last line in. (Include....)
In that file you can put custom Apache configurations and even redefine
existing domains if you want as I believe Apache reads it's config from
bottom to top and since all the other domains are below.... Well it works
for us! ;-)
Also that file will NOT get overwritten by the browser.Everything below it
in the httpd.conf will, but that line will stay. As usual backup files
first!
--Neil
On Thu, 16 Dec 1999, NetAdmin wrote:
> Date: Thu, 16 Dec 1999 23:54:49 -0600
> From: NetAdmin <isplists@xxxxxxxxxxxx>
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] RaQ2--custom edits to httpd.conf
>
> How does one make custom edits to the RaQ2 httpd.conf without them being
> wiped out the next time a new site is added?
> It not only wipes the additions but wiped out comment-out lines. I'm
> attempting to disable cgi-wrap on a site by site
> basis.
>
> Tony
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>