We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e77880 commit 2051e21Copy full SHA for 2051e21
slim/.htaccess
@@ -1,4 +1,19 @@
1
+Options All -Indexes
2
+
3
+<Files .htaccess>
4
+order allow,deny
5
+deny from all
6
+</Files>
7
8
<IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteRule (.*) /webapp/public/$1 [L]
9
+ # Redirect to the public folder
10
+ RewriteEngine On
11
+ # RewriteBase /
12
+ RewriteRule ^$ /webapp/public/ [L]
13
+ RewriteRule (.*) /webapp/public/$1 [L]
14
15
+ # Redirect to HTTPS
16
+ # RewriteEngine On
17
+ # RewriteCond %{HTTPS} off
18
+ # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
19
</IfModule>
0 commit comments