Skip to content

Commit 424b9aa

Browse files
committed
No htaccess override on Symfony conf + app_dev.php as default front
1 parent 8883c5a commit 424b9aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php-apache-symfony/symfony.conf

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44

55
DocumentRoot /var/www/html/web
66
<Directory /var/www/html/web>
7-
AllowOverride All
7+
AllowOverride None
88
Require all granted
99
Allow from All
1010

1111
<IfModule mod_rewrite.c>
1212
Options -MultiViews
1313
RewriteEngine On
1414
RewriteCond %{REQUEST_FILENAME} !-f
15+
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
1516
RewriteRule ^(.*)$ app_dev.php [QSA,L]
1617
</IfModule>
1718
</Directory>

0 commit comments

Comments
 (0)