← ServerPilot Docs

Apache

Available Apache Modules

The following is a list of Apache modules enabled by default in ServerPilot's Apache builds. core_module / mod_core so_module / mod_so http_module / mod_http mpm_event_module / mod_mpm_event authn_file_module / mod_authn_file authn_dbm_module / mod_authn_dbm authn_anon_module / mod_authn_anon authn_dbd_module / mod_authn_dbd authn_socache_module / mod_authn_socache authn_core_module / mod_authn_core authz_host_module / mod_authz_host authz_groupfile_module / mod_authz_groupfile authz_user_module / mod_authz_user authz_dbm_module / mod_authz_dbm authz_owner_module / mod_authz_owner authz_dbd_module / mod_authz_dbd authz_core_module / mod_authz_core authnz_ldap_module / mod_authnz_ldap access_compat_module / mod_access_compat auth_basic_module / mod_auth_basic auth_form_module / mod_auth_form auth_digest_module / mod_auth_digest allowmethods_module / mod_allowmethods file_cache_module / mod_file_cache cache_module / mod_cache cache_disk_module / mod_cache_disk socache_shmcb_module / mod_socache_shmcb socache_dbm_module / mod_socache_dbm socache_memcache_module / mod_socache_memcache dbd_module / mod_dbd dumpio_module / mod_dumpio buffer_module / mod_buffer ratelimit_module / mod_ratelimit reqtimeout_module / mod_reqtimeout ext_filter_module / mod_ext_filter request_module / mod_request include_module / mod_include filter_module / mod_filter substitute_module / mod_substitute sed_module / mod_sed deflate_module / mod_deflate mime_module / mod_mime ldap_module / mod_ldap log_config_module / mod_log_config log_debug_module / mod_log_debug logio_module / mod_logio env_module / mod_env expires_module / mod_expires headers_module / mod_headers setenvif_module / mod_setenvif version_module / mod_version remoteip_module / mod_remoteip proxy_module / mod_proxy proxy_connect_module / mod_proxy_connect proxy_ftp_module / mod_proxy_ftp proxy_http_module / mod_proxy_http proxy_fcgi_module / mod_proxy_fcgi proxy_scgi_module / mod_proxy_scgi proxy_ajp_module / mod_proxy_ajp proxy_balancer_module / mod_proxy_balancer proxy_express_module / mod_proxy_express session_module / mod_session session_cookie_module / mod_session_cookie session_dbd_module / mod_session_dbd slotmem_shm_module / mod_slotmem_shm ssl_module / mod_ssl lbmethod_byrequests_module / mod_lbmethod_byrequests lbmethod_bytraffic_module / mod_lbmethod_bytraffic lbmethod_bybusyness_module / mod_lbmethod_bybusyness unixd_module / mod_unixd dav_module / mod_dav status_module / mod_status autoindex_module / mod_autoindex info_module / mod_info cgid_module / mod_cgid dav_fs_module / mod_dav_fs vhost_alias_module / mod_vhost_alias negotiation_module / mod_negotiation dir_module / mod_dir actions_module / mod_actions speling_module / mod_speling userdir_module / mod_userdir alias_module / mod_alias rewrite_module / mod_rewrite suexec_module / mod_suexec

How to Create a 'cgi-bin' Directory

A cgi-bin folder can be used to enable support for legacy CGI scripts. When you enable a cgi-bin folder, any executable program in that directory can be requested.

How to Enable the Apache Server Status Page

The Apache status module, commonly known as mod_status or server-status, provides information about the requests Apache is serving and has recently served.

How to Use Clean URLs

Many developers prefer to use clean URLs like these in their apps: http://example.com/profiles/foo rather than URLs like the following that include the PHP script filename in the URL:

Customizing the Apache Configuration

Careful! We can't provide support for customizations or for any errors, downtime, or vulnerabilities you introduce through customizations. Unless you're absolutely sure about what you're doing, you should stop now!

How to Change the Apache Error Messages

You can change the Apache error messages for a single app by adding ErrorDocument directives to the app's .htaccess file.

How to Check Your .htaccess Rewrite Rules for Errors

Using .htaccess files is the safest way to customize the Apache configuration for your app. Through .htaccess files, you can use all of the common Apache directives from modules, including mod_rewrite, mod_expires, and many others.

How to Enable Browser Caching

You can configure an app so that the browser will cache files it downloads from your server. When a response is cached, the browser will not request the file again for a period of time.

How to Fix Apache Error 'server reached MaxRequestWorkers setting'

If you see the following message in your Apache error log: server reached MaxRequestWorkers setting this does not mean there is anything wrong with Apache or your Apache MaxRequestWorkers setting.

How to Prevent .htaccess from Being Overwritten by WordPress

You can safely customize and control the behavior of your WordPress apps by entering instructions into each app's .htaccess file.

How to Use .htaccess Files

You can control the behavior of the Apache web server by creating a file named .htaccess in your app's web root directory.

How to Use Apache to Replace Strings in Responses

If you need to replace strings in the output of your PHP scripts before they are sent to the browser, you can use Apache's string substitution features.

What Is a .htaccess File?

A .htaccess file allows you to control the behavior of the Apache web server through safe and simple customizations.

Launch your first site in 5 minutes