[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache: httpd.conf



IA>> > My httpd.conf become to long :-( and it make it hard to maintain.
IA>> 
IA>> how large is large? I split the one at work when it got to 300K.

mod_macro can be very useful. Converts entire VirtualHost statement to one
Use, like:

Use SimpleVHost site.co.il site
Use CGIVHost advancedsite.com advsite

etc., etc. - you get an idea. Most configurations easily get into 2-3
templates, and others can be 90% composed of simple templates like "make
password-protected directory there" and "make cgi-enabled directory here". 


-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-3-9316425	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333



=================================================================
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