17 Nov - Static Sites to laravel
This commit is contained in:
parent
610aa1e202
commit
5ff57a21a7
3661 changed files with 569001 additions and 771 deletions
20
_static/.htaccess
Normal file
20
_static/.htaccess
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<IfModule mod_rewrite.c>
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
#RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
|
||||
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301]
|
||||
|
||||
#RewriteCond %{HTTPS} !=on
|
||||
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
|
||||
# Redirect Trailing Slashes If Not A Folder...
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)/$ /$1 [L,R=301]
|
||||
|
||||
# Handle Front Controller...
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^ index.php [L]
|
||||
|
||||
</IfModule>
|
||||
Loading…
Add table
Add a link
Reference in a new issue