Finding out which modules are loaded

Finding out which modules are loaded

am 20.08.2007 16:23:46 von azymuth

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.

Re: Finding out which modules are loaded

am 22.08.2007 05:32:32 von CamelRichard

On Mon, 20 Aug 2007 07:23:46 -0700, azymuth
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@camelrichard.org

Re: Finding out which modules are loaded

am 22.08.2007 08:57:33 von unknown

Post removed (X-No-Archive: yes)

Re: Finding out which modules are loaded

am 22.08.2007 21:42:09 von CamelRichard

On Wed, 22 Aug 2007 08:57:33 +0200, Davide Bianchi
wrote:

>On 2007-08-22, CamelRichard 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

Re: Finding out which modules are loaded

am 23.08.2007 08:43:55 von unknown

Post removed (X-No-Archive: yes)