The following is a list of Apache modules enabled by default in ServerPilot's Apache builds.
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!
A .htaccess file allows you to control the behavior of the Apache web server through safe and simple customizations.
You can control the behavior of the Apache web server by creating a file named .htaccess in your app's web root 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.
The Apache status module, commonly known as mod_status or server-status, provides information about the requests Apache is serving and has recently served.
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:
You can change the Apache error messages for a single app by adding ErrorDocument directives to the app's .htaccess file.
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.
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.
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.
You can safely customize and control the behavior of your WordPress apps by entering instructions into each app's .htaccess file.
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.