logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Needed modules ?

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
bagu



Joined: 06 Jan 2011
Posts: 129
Location: France

PostPosted: Mon 28 Aug '17 15:54    Post subject: Needed modules ? Reply with quote

Hello,

I use this config, but i don't really know wich are needed :
Code:
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cloudflare_module modules/mod_cloudflare.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule fcgid_module modules/mod_fcgid.so
LoadModule filter_module modules/mod_filter.so
LoadModule http2_module modules/mod_http2.so
LoadModule headers_module modules/mod_headers.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so


Can you help me to know wich module i can disable (i use vhosts and need alias, rewrite, header and filter)

Thanks in advance Wink
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Mon 28 Aug '17 22:55    Post subject: Reply with quote

mod_access_compat.so
Only if you still use Order Allow,Deny instead of require

mod_actions.so
Ony if you need to run cgi scripts

mod_asis.so
99,9% chance that you don't need this module

all the mod_authn* and mod_authz* depend what kind of authentication and authorisation you use.


mod_autoindex.so
Only if people shall be able to browse the directories without and index file. High chance that you don't need this.

mod_cloudflare.so
Only if you are behind cloudflare

mod_include.so
only if you use server side includes. I think 99% chance that you don't need this

LoadModule isapi_module modules/mod_isapi.so
Chances are very high that you don't need this.

mod_vhost_alias.so
Chances are very high that you don't need this module. Read the docs.
Back to top
bagu



Joined: 06 Jan 2011
Posts: 129
Location: France

PostPosted: Tue 29 Aug '17 0:46    Post subject: Reply with quote

Thanks for your answer Wink

mod_access_compat.so : I must remove old code to remove it

mod_cloudflare.so : i use it Wink

mod_vhost_alias.so : i use it too

mod_authz* : i need core and host, require seem to don't work without it

But i remove every others : apache performance is far better Wink

Really thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Tue 29 Aug '17 9:36    Post subject: Reply with quote

Once you removed mod_access_compat.so is will speed up your apache.
If you disable the use of .htaccess files, but put the config into the vhost settings that should give you the biggest boost ( if you haven't done it already)
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 66

PostPosted: Wed 30 Aug '17 6:08    Post subject: Reply with quote

good info,I was wondering what module to activate to maintain and run a website.Maybe a tutorial for the novice users Smile ?
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1