[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: "NetAdmin" <isplists@xxxxxxxxxxxx>
- Date: Fri Dec 17 09:39:49 1999
Could you give me an example of an entry in the extra.conf file?
Do you just redefine the entire Virtual Host entry or just add the extra
directives you need?
Would you leave the orginal entry in the httpd.conf?
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Neil J. Kemp
Sent: Friday, December 17, 1999 4:52 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Cc: neil@xxxxxxxxxx
Subject: Re: [cobalt-users] RaQ2--custom edits to httpd.conf
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
>
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users