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

Re: how to put apache under hosts.{allow,deny}'s control?



On Thu, 17 Dec 1998, Tim Moore wrote:
>>>>>> "Jeff" == Jeff Noxon <jeff@planetfall.com> writes:
>
>    Jeff> On Wed, Dec 16, 1998 at 02:04:04PM -0500, Shaleh wrote:
>    >> Subject says it all.  How can I put non-inetd services under
>    >> hosts.{allow,deny}'s control?
>
>    Jeff> If you really want that, the best thing to do is run Apache
>    Jeff> from inetd.  According to the manpage it can be run that
>    Jeff> way.
>
>Is there an easy spiffy Debian way to make it run from inetd like
>there is with exim?  Or do I have to do it myself?  (I do know about
>update-inetd.)
>
>I haven't found an automatic way, so I strongly suspect that there
>isn't one, but I haven't looked very hard, either.  If there isn't
>one, perhaps there should be.  With exim, all I have to do to toggle
>between inetd and running all the time is (un)comment a line in
>/etc/init.d/exim.
>
>Tim Moore
>

I wanted to do the same. I did not find a program to do it for me, so I had to
do it myself. I changed the ServerType line in httpd.conf, and then I had to
add my own line to the inetd thingy.
You know about update-inetd, so you can do that. As far as I can
remember that's all I had to do, and it's worked fine since then.

Frankie

>-- 
>Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
--
a.k.a. Skunk Pussy
http://www.skunkpussy.freeserve.co.uk - Drum'n'Bass/Jungle Samples, Tunes and Links.
ICQ#:25576761
Non-ICQ users, page me at: http://wwp.mirabilis.com/25576761


Reply to: