[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Mar 2004 ]

Re: [edlug] Checking loaded Apache mods

"Peter  George" <peter@xxx.xxx.xxx> writes:

> My Googling hasn't found an answer quick enough for this, I wonder if
> you guys can help.
> I want to check wether my server is running 'mod_include'. How can I
> do this?


You'll probably need to enable it in apache.conf (or commonapache.conf,
or httpd.conf, or...).  In my copy, the text to do it is in there, but
commented out.

### Allow remote server configuration reports, with the URL of
### http://servername/server-info (requires that mod_info.c be loaded).
### Change the ".your_domain.com" to match your domain to enable.
<IfModule mod_info.c>
    <Location /server-info>
        SetHandler server-info
        <IfModule mod_access.c>
        Order deny,allow
        Deny from all
        allow from
        Allow from
        Allow from ::1
        Allow from 2001:618:400::d99b:491

You'll obviously want to change the allow from lines to suit...

Andrew Aylett | www.aylett.co.uk | 1.79 x 10^12 furlongs per fortnight...
andrew@xxx.xxx.xxx | answer==42 |  -- it's not just a good idea, it's the law!

Attachment: pgp00016.pgp
Description: PGP signature

This archive is kept by wibble@morpheux.org.DONTSPAMME