On Wednesday 18 June 2003 17:54, Dhruba Bandopadhyay wrote:
> Hello
>
> Just like phpinfo() for web based PHP information is there a web based
> method or providing similar version and module information for apache?
>
> Many thanks.

with apache2 you can enable
<IfModule mod_info.c>
    <Location /server-info>
        SetHandler server-info
        <IfModule mod_access.c>
        Order deny,allow
        Deny from all
        allow from 127.0.0.1
        </IfModule>
    </Location>
</IfModule>
in the config-file

With the above settings you can access http://localhost/server-info
then you get a list of modules and many info for each module

for example:

Module Name: mod_dir.c
Content handlers: none
Configuration Phase Participation: Create Directory Config, Merge Directory 
Configs
Request Phase Participation: Fixups
Module Directives:
        DirectoryIndex - a list of file names
Current Configuration:
        DirectoryIndex index.html index.html.var index.php index.php3 index.shtml 
index.cgi index.pl index.htm Default.htm default.htm

have also a look at <Location /server-status>


hope this helped
joe


--
[EMAIL PROTECTED] mailing list

Reply via email to