init
This commit is contained in:
@@ -1,22 +1,20 @@
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/html
|
||||
DocumentRoot /var/www/html/public
|
||||
|
||||
<Directory /var/www/html>
|
||||
Options Indexes FollowSymLinks
|
||||
<Directory /var/www/html/public>
|
||||
Options -Indexes +FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
FallbackResource /index.php
|
||||
</Directory>
|
||||
|
||||
# Enable mod_rewrite
|
||||
RewriteEngine On
|
||||
# Symfony recommended: disable .htaccess if using FallbackResource
|
||||
<Directory /var/www/html/public/bundles>
|
||||
FallbackResource disabled
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
# Optional: Disable directory listing
|
||||
<Directory /var/www/html>
|
||||
Options -Indexes +FollowSymLinks
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user