14 lines
368 B
ApacheConf
14 lines
368 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
Options -MultiViews -Indexes
|
|
RewriteEngine On
|
|
|
|
# Keep the Laravel application outside the web-facing path.
|
|
RewriteRule ^public/ - [L]
|
|
RewriteRule ^(.*)$ public/$1 [L]
|
|
</IfModule>
|
|
|
|
<IfModule mod_headers.c>
|
|
Header always set X-Content-Type-Options "nosniff"
|
|
Header always set X-Frame-Options "SAMEORIGIN"
|
|
</IfModule>
|