apache-config-devel/apache.conf

61 lines
1.1 KiB
ApacheConf
Raw Permalink Normal View History

### Basic server config
ServerRoot "/etc/apache"
ServerAdmin you@example.com
#ServerName 127.0.0.1:80
# needs "mod_unixd"
User _apache
Group _apache
### Error logging of master process
# Possible values include: debug, info, notice, warn, error, crit,
LogLevel warn
ErrorLog "/var/log/httpd/error_log"
### Load modules
# Load MPM
Include mpm-enabled/*.load
Include mpm-enabled/*.conf
# We can't run without these:
LoadModule authz_core_module /usr/libexec/httpd/mod_authz_core.so
LoadModule log_config_module /usr/libexec/httpd/mod_log_config.so
LoadModule unixd_module /usr/libexec/httpd/mod_unixd.so
# Admin wants these modules:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
# Include listen ports
Include listen.conf
### Basic security settings
<Directory />
AllowOverride none
Require all denied
</Directory>
<Files ".ht*">
Require all denied
</Files>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<IfModule log_config_module>
CustomLog "/var/log/httpd/access_log" combined
</IfModule>
### Include additional configs
IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf