-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
42 lines (33 loc) · 940 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<IfModule mod_rewrite.c>
#Session timeout
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ ^$1 [N]
RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
RewriteRule ^(.*)$ public/$1
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php
</IfModule>
<Files .env>
Order allow,deny
Deny from all
</Files>
<Files composer.json>
Order allow,deny
Deny from all
</Files>
#<IfModule php7_module>
#php_flag display_errors Off
#php_value upload_max_filesize 1000000000000000000000M
#php_value post_max_size 1000000000000000000000M
#php_value max_execution_time 9000000000000000000000
#php_value max_input_time 9000000000000000000000
#php_value memory_limit 9000000000000000000000M
#php_value max_file_uploads 500
#php_value default_socket_timeout 9000000000000000000000
#</IfModule>