On Mon, 30 Oct 2000, Jimi Thompson wrote:
> It is me or has anyone noticed a definite LACK of information on how to
> modify the httpd.conf for the various modules in order to get them
> working??? Why is it that no one has ever posted an actual working copy
> of an httpd.conf file for mod_perl in its various incarnations? Could it
> be because one doesn't exist?

erm.... are you sure this is where you wanted to write this? can I suggest
usenet's alt.flame instead?

I have mod_perl working in several incarnations. On several machines. If
you like, I can send you a working config, but I don't know if it would be
useful to you, because it is heavily dependent on how the apache is
configured at build time.

The reason that the httpd.conf exists is that apache is an extremely
flexible web server. One person's httpd.conf might well be entirely
different from someone else's.

> I have also noticed a large amount of MISSING information regarding
> dependencies among the various modules.

mod_so is needed for dynamic loading. Other than that, modules don't tend
to depend on each other. Various configuration directives depend on
modules being loaded (all the logging, for example).

> I think it's all a hoax and no one else can get the stupid thing to work
> either ;)  You know, Santa Claus, Easter Bunny, Tooth Fairy, Working
> Mod_perl....

| [mbm@hard]:~$ telnet www.londontransport.co.uk 80
| Trying 195.92.250.96...
| Connected to www.londontransport.co.uk.
| Escape character is '^]'.
| HEAD / HTTP/1.0
| 
| HTTP/1.1 200 OK
| Date: Tue, 31 Oct 2000 00:07:56 GMT
| Server: Apache/1.3.12 (Unix) mod_perl/1.24
                               ^^^^^^^^^^^^^
| Connection: close
| Content-Type: text/html
| 
| Connection closed by foreign host.

I'd say that was working....

> Totally frustrated,

from my own notes on how to do this...
| cd into your apache build directory
| $ ./configure --with-shared=max
| $ cd ../mod_perl-x.xx
| $ perl Makefile.PL DO_HTTPD=1 EVERYTHING=1 APACHE_HEADER_INSTALL=1 \
|   USE_APACI=1 USE_DSO=0 APACI_ARGS='--enable-shared=rewrite,\
|   --disable-rule=WANTHSREGEX, --enable-module=all, \
|   --enable-module=define, --enable-shared=max, \
|   --disable-shared=perl, \
and if you want suexec for your cgis.
|   --enable-suexec=max, --suexec-caller=nobody, \
|   --suexec-uidmin=500, --suexec-gidmin=500'

Then you do
| $ make
| $ make test
| # make install
| # cd ../apache_x.xx
| # make install

But that's how I do it. and being perl, TIMTOWTDI.

MBM

-- 
Matthew Byng-Maddick   Home: <[EMAIL PROTECTED]>  +44 20  8981 8633  (Home)
http://colondot.net/   Work: <[EMAIL PROTECTED]> +44 7956 613942  (Mobile)
Trifles make perfection, and perfection is no trifle.      -- Michelangelo

Reply via email to