On Wed, 17 Jul 2002, Roderick A. Anderson wrote:

> One other thing.  A couple of years ago I admin'd a small hosting site.
> All were virtualhosts so I came up with a script to create the basic
> configuration and used Include to read in each sites files.  Therefore
> my httpd.conf file remained static and the virtual.conf file would get a
> new entry and the virtual directory would get a new file for each new
> site.

Are you aware that Apache now (since 1.2.13 I think) supports including
dirs?

I simply add this one line at the bottom of my httpd.conf (on a Debian
system, so your path is possibly different):

  Include /etc/apache/vhosts.d/

and create separate files for each virtual host within that directory.

Sorry for this off topic post.

-- Jonas

-- 
Jonas Smedegaard (+45 40843136)          http://dr.jones.dk/~jonas/
Spiff ApS (= IT-guide dr. Jones ApS)     http://dr.jones.dk/
Debian GNU/Linux developer               http://people.debian.org/~js/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________________
(un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users
Archive: http://www.mail-archive.com/[email protected]/

Reply via email to