Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 23:51:49 +0200
From:      Marc Perisa <perisa@porsche.de>
To:        "Gary D. Margiotta" <gary@tbe.net>
Cc:        Mark Johnston <mjohnston@skyweb.ca>, 'Odhiambo Washington' <wash@wananchi.com>, freebsd-isp@freebsd.org
Subject:   Re: Scripts to Manage Virtual Hosts
Message-ID:  <3D2F4F75.1090902@porsche.de>
References:  <Pine.BSF.4.21.0207121029090.45401-300000@thud.tbe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary D. Margiotta wrote:
> I started writing some perl scripts which I use to add virtualhosts and
> redirects to separate config files.  I didn't like the idea of editing the
> httpd.conf directly, so I made use of the ResourceConfig directive, and
> created 2 files called virtualhosts.conf and redirects.conf which apache
> pulls in when started.
> 
> The scripts are currently only able to add entries, and not remove them,
> but should be able to be easily enough modified to include that, I just
> haven't had the time to finish them up.  I want to eventually hook up the
> scripts to keep the info in a database for much easier organization and
> manipulation of domains, but again, lack of time.
> 
> You'll notice that it also makes a call to a shell script that gets run to
> ifconfig the virtual IPs on the host interface.  I also run that before I
> restart apache to make sure the new IP takes effect.
> 
> -Gary
> 

Does anyone know about a project to manage the Apache, postfix, qmail, 
shell-users for login and configuration from a LDAP-database?

A friend of mine and me are trying to write a tool like that. Has anyone 
interest?

Marc




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2F4F75.1090902>