Differences
This shows you the differences between two versions of the page.
linux_wiki:apache_configuration_file_walk_through [2016/09/24 16:13] billdozor [Main Config File] |
linux_wiki:apache_configuration_file_walk_through [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Apache Configuration File Walk Through ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | Explanation of major sections in the Apache Configuration file. | ||
- | |||
- | ---- | ||
- | |||
- | ====== Main Config File ====== | ||
- | |||
- | * **Default Location**: / | ||
- | |||
- | \\ | ||
- | **Important config file default directives** | ||
- | * ServerRoot "/ | ||
- | * Listen 80 -> Listen on tcp port 80 (on all available addresses by default) | ||
- | |||
- | * Include conf.modules.d/ | ||
- | * Include conf.d/ | ||
- | |||
- | * User apache -> Default username the httpd process runs as | ||
- | * Group apache -> Default group the httpd process runs as | ||
- | |||
- | * DocumentRoot "/ | ||
- | |||
- | * Directory blocks (< | ||
- | * AllowOverride -> If " | ||
- | * Options -> Specify different options such as " | ||
- | * Require all -> " | ||
- | |||
- | * IfModule -> Only apply the containing settings if a module exists | ||
- | * Files " | ||
- | * Typically used to restrict access to viewing certain files on the web. | ||
- | |||
- | * ErrorLog " | ||
- | |||
- | ---- | ||