Re: [Hampshire] webserver route to another box on an interna…

Top Page

Reply to this message
Author: Victor Churchill
Date:  
To: lug, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] webserver route to another box on an internal LAN?
On 02/03/07, Vic <lug@???> wrote:
> > Not sure if I'm missing something here... apache and its mod_* modules
> > are present (I assume) in most distros ( == "vendors"?) but I don't
> > know of pre-built "vendor packages" that comprise the server
> > configured in different ways.
>
> Well, WBEL installs apache in a fairly sane manner - the docroot is sat at
> /var/www/html, and there's even a test page to show that it's working.


Sure. That's true of every Linux I've used, including the one in this
case... but the default install happens not to have mod_proxy built
in. (And according to apache.org that's the default. As the apache
site said, quoted earlier, their definition of an extension is that
you'll probably have to rebuild the server (from which I infer: re-run
the configure to include the module as a config option, then do the
make stuff)
>
> Of course that doesn't give you every single bit of config you'd ever want
> (how could it?) - but configuring apache then becomes a matter of editing
> the main config file (/etc/httpd/conf/httpd.conf) or one of the
> "subsidiary" ones (/etc/httpd/conf.d/whatever.conf). Nice, simple stuff,
> without all that messing around in hyperspace...


Ah. Trouble is when you do that (which I did first) it says the error
quoted previously. ( "...defined by a module not included in the
server configuration")
I agree, if the module is already available then there's no fancy
stuff required, just edit the .conf.

>
> > But I don't see how that applies to an apache config
> > issue.
>
> It's not the config - it's the "make & install" stuff you were doing. By
> using vendor packages, you (probably) wouldn't have had to do any of that.


What is this vendor package that is being talked about? I'm sitting on
a ubuntu box atm and there's not anything that looks like that here.
(The works box in question is a RH box, which I don't know that well).

>
> > Of course the alternative answer is "Yes ... laziness, impatience and
> > hubris" B-)
>
> Well, laziness is exactly why I'm so keen on packaging :-)
>

generally, yes. But when the going gets tough...

cheers

victor