Settings > Hosts > Apache

Apache options can be set for the selected virtual host in the table. These options are security relevant! More information about configuring your Apache Server can be found at the Apache website.

MAMP

  • Options for <Directory> directive

    • Indexes
      Activates or deactivates “directory browsing”. If there is no index.html, index.php, etc. in the document root, the content of the folder is displayed when this option is enabled. Without this option, nothing will be displayed or an error message will appear.

    • Includes
      Allows the use of Server Side Includes (SSI).

    • FollowSymLinks
      Allows the use of symbolic links as reference to documents in other directories. This is an elegant feature if you would like references to objects that are outside of the directory tree (e.g. protocol files of the web server), but know you want to avoid the hiding of objects through the URL tree.

    • SymLinksIfOwnerMatch
      Restricted version of “FollowSymLinks”. Allows reference to objects via symbolic links only if the owner matches.

    • Exec-CGI
      Permit CGI execution.

    • Multiviews
      Allows the use or disabling of dynamic documents depending on the language.


  • Additional parameters for <Directory> directive

    • Directory Index
      Determine which file Apache should serve if no filename is given in an address. By default it is either index.html or index.php.
  • Additional Parameters for <VirtualHost> directive
    These directives go directly to the httpd.conf file.

    • Server admin
      The email address Apache will send error messages to.


  • Additional Apache Server Configuration

    The configuration files in the /Applications/MAMP/conf/apache/extra/ directory can be included to add extra features or to modify the default configuration of the server. Uncomment, then edit, any of the following configuration files in your httpd.conf template file to make customizations.

    • Include /Applications/MAMP/conf/apache/extra/httpd-mpm.conf
      Configuration information on httpd-mpm.conf can be found here.
    • Include /Applications/MAMP/conf/apache/extra/httpd-multilang-errordoc.conf
    • Include /Applications/MAMP/conf/apache/extra/httpd-autoindex.conf
      Configuration information on httpd-mpm.conf can be found here.
    • Include /Applications/MAMP/conf/apache/extra/httpd-languages.conf
    • Include /Applications/MAMP/conf/apache/extra/httpd-info.conf
    • Include /Applications/MAMP/conf/apache/extra/httpd-manual.conf
    • Include /Applications/MAMP/conf/apache/extra/httpd-dav.conf
    • Include /Applications/MAMP/conf/apache/extra/httpd-default.conf