Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 19:16:13 +0200
From:      Gabriel Ambuehl <gaml@buz.ch>
To:        owner-freebsd-isp@FreeBSD.ORG, Odhiambo Washington <wash@wananchi.com>
Cc:        FBSD-ISP <freebsd-isp@freebsd.org>
Subject:   Re: Scripts to Manage Virtual Hosts
Message-ID:  <16382707250.20020715191613@buz.ch>
In-Reply-To: <20020712135040.GM10377@ns2.wananchi.com>
References:  <20020712135040.GM10377@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

OW> I believe someone already had written a script that can be used to manipulate
OW> httpd.conf to add/remove virtual host entries.
OW> I sincerely believe that this is somewhere so I don't have to start agonizing
OW> about re-inventing the wheel.
OW> Could someone kindly point me to where one is located, better even share with me
OW> what they have ;-)


Well adding is quite simple, really.

Just append the virtualhost lines to httpd.conf

(can be done as easy as
echo "Your stuff" >> httpd.conf && apachectl graceful
)

Now deleting is a bit harder as you'd need to parse the file. OTOH,
Apache has got a feature that will include all text files in a subdir
into apache.conf which would allow to have a file for each vhost and
then simply rm it when it needs to go, description can be found
somewhere in the docs or the changelog, can't remember.

Furthermore, there are a few projects out there aimed at building
something like the "looking nice but back end is mere crap" Sun Cobalt
Interface. There is www.ispman.org which seems decent but then again I
have a strong feeling against LDAP (I'd build it on MySQL) and don't
really like Perl either. Then there is plesk.com who even interfaces
with qmail but it happened a few times that their page was down when I
tried to access it so I don't trust the stuff very much plus it's
rather expensive with like 1000$ license per machine.

I've had a few shots at implementing my own control panel system (in
various languages, but mostly Python) but always got too annoyed to
ever finish it. Part of the reason could have been that I wanted very
many features (like transparent distribution of domains among a group
of servers or fully XSL template based interface) which took a lot of
time to implement and finally had me that fed up that I really
haven't had the nerves to write a GUI for it.

Generally, I'd be interested to hear about open source cotnrol panel
solutions too. Furthermore, I'd might be interested in developing a
custom solution, so feel free to contact me.


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?16382707250.20020715191613>