Apache Module - Welche werden genutzt?

Apache, Lighttpd, nginx, Cherokee
Post Reply
djbennyf
Posts: 176
Joined: 2003-04-06 19:44
 

Apache Module - Welche werden genutzt?

Post by djbennyf »

Gibt es eine möglichkeit herauszufinden welche Module die ich geladen habe überhaupt genutzt werden um sinnlose auszuschalten?

Vielen Dank....
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Apache Module - Welche werden genutzt?

Post by Joe User »

httpd.conf manuell durchgehen und entsprechend anpassen...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
djbennyf
Posts: 176
Joined: 2003-04-06 19:44
 

Re: Apache Module - Welche werden genutzt?

Post by djbennyf »

ja das kann ich für meine scripte machen nicht aber für andere... gibt es keine möglichkeit zu schauen auf welche module apache letztendlich zurückgreift?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Apache Module - Welche werden genutzt?

Post by Joe User »

Scripte?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Apache Module - Welche werden genutzt?

Post by Roger Wilco »

DjBennyF wrote:ja das kann ich für meine scripte machen nicht aber für andere... gibt es keine möglichkeit zu schauen auf welche module apache letztendlich zurückgreift?
Auf alle, die in seiner Konfiguration geladen werden. :roll:
Ob du schließlich Direktiven der Module verwendest, lässt sich nicht automatisch (ohne größeren Aufwand) herausfinden...
djbennyf
Posts: 176
Joined: 2003-04-06 19:44
 

Re: Apache Module - Welche werden genutzt?

Post by djbennyf »

ok vielen dank.
lord_pinhead
Posts: 774
Joined: 2004-04-26 15:57
 

Re: Apache Module - Welche werden genutzt?

Post by lord_pinhead »

sed -e '/^(t| )*#.*|^(t| )*$/d' -e 's/(.*)#.*/1/' "/etc/apache/modules.conf" :) Pfad vielleicht anpassen. Geht aber nur wenn deine Module ausgelagert sind.
pseudo
Posts: 54
Joined: 2003-08-08 10:08
 

Re: Apache Module - Welche werden genutzt?

Post by pseudo »

Ich weiss nich, ob du genau das hier meinst, aber mit dem Modul mod_info.c bekommste ne ziemlich detaillierte Auflistung...

Code: Select all

# 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.
#
#<Location /server-info>
#    SetHandler server-info
#    Order deny,allow
#    Deny from all
#    Allow from .your_domain.com
#</Location>
Gruss, Pseudo
Post Reply