Finding out which modules are loaded

Is there an easy way to find out which modules are loaded in your
Apache configuration without looking in the httpd.conf file (which in
this case, I don't have access to)?

I ask as I would like to find out if I can use mod_rewrite in my
applications without having to phone up my ISP or trying by trial and
error.

All help appreciated.
azymuth [ Mo, 20 August 2007 16:23 ] [ ID #1799973 ]

Re: Finding out which modules are loaded

On Mon, 20 Aug 2007 07:23:46 -0700, azymuth
<david.winterbottom [at] gmail.com> wrote:

>Is there an easy way to find out which modules are loaded in your
>Apache configuration without looking in the httpd.conf file (which in
>this case, I don't have access to)?
>
>I ask as I would like to find out if I can use mod_rewrite in my
>applications without having to phone up my ISP or trying by trial and
>error.
>
>All help appreciated.

httpd -M will show you:

% /u01/app/apache/bin/httpd -M
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
include_module (static)
filter_module (static)
log_config_module (static)
env_module (static)
setenvif_module (static)
proxy_module (static)
proxy_connect_module (static)
proxy_ftp_module (static)
proxy_http_module (static)
proxy_ajp_module (static)
proxy_balancer_module (static)
mpm_worker_module (static)
http_module (static)
mime_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
cgid_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
rewrite_module (static)
so_module (static)
php5_module (shared)
Syntax OK

http://www.camelrichard.org/topics/Apache/Apache_httpd_optio ns

Hope that helps,

kyle.reynolds [at] camelrichard.org
CamelRichard [ Mi, 22 August 2007 05:32 ] [ ID #1802258 ]

Re: Finding out which modules are loaded

Post removed (X-No-Archive: yes)
Notifier Deamon [ Mi, 22 August 2007 08:57 ] [ ID #1802262 ]

Re: Finding out which modules are loaded

On Wed, 22 Aug 2007 08:57:33 +0200, Davide Bianchi
<davideyeahsure [at] onlyforfun.net> wrote:

>On 2007-08-22, CamelRichard <kyle.reynolds [at] camelrichard.org> wrote:
>> httpd -M will show you:
>
>? in my installation the -M option ain't supported, from which version
>is it?
>
>Davide

Mine is :

Server version: Apache/2.2.4 (Unix)

which version are you using?

http -M

....is a shortcut for:

httpd -t -D DUMP_MODULES

you might try that also.


Kyle
CamelRichard [ Mi, 22 August 2007 21:42 ] [ ID #1802265 ]

Re: Finding out which modules are loaded

Post removed (X-No-Archive: yes)
Notifier Deamon [ Do, 23 August 2007 08:43 ] [ ID #1803150 ]
Webserver » alt.apache.configuration » Finding out which modules are loaded

Vorheriges Thema: copy right
Nächstes Thema: copy or cp??