Skip to content

Instantly share code, notes, and snippets.

@crayfishx
Created May 30, 2017 08:10
Show Gist options
  • Save crayfishx/3b3a10101f5eb301e062c6858b91d5f5 to your computer and use it in GitHub Desktop.
Save crayfishx/3b3a10101f5eb301e062c6858b91d5f5 to your computer and use it in GitHub Desktop.
ServerRoot "/etc/httpd"
Listen 80
Include conf.modules.d/*.conf
User apache
Group apache
ServerAdmin root@localhost
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/var/www/html"
<Directory "/var/www">
AllowOverride None
Require all granted
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
IncludeOptional conf.d/*.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment