[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apache: httpd.conf
On Sun, 23 Jan 2000, Ben-Nes Michael wrote:
> Hi
>
> My httpd.conf become to long :-( and it make it hard to maintain.
how large is large? I split the one at work when it got to 300K.
>
> Is there a good way to put each virtualhost on other files ?
yes, Apache 1.3 (maybe earlier too) supports the include keyword,
followed by a path relative to the server root.
include conf/vhosts-1.conf
include conf/vhosts-2.conf
include conf/vhosts-3.conf
include conf/vhosts-4.conf
etc.
--
Ira Abramov ; whois:IA58 ; www.scso.com ; all around Linux enthusiast
"Problem solving under linux has never been the circus that it is under
AIX."
(By Pete Ehlke in comp.unix.aix)
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il