mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
Improve htaccess to allow direct access only to assets dir
This commit is contained in:
parent
05cb62a503
commit
61ba62ac86
1 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,4 @@
|
|||
RewriteEngine on
|
||||
RewriteRule "!\.(js|ico|ICO|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|css|woff|woff2|ttf|wav|ogg|mp3|svg|json)$" index.php
|
||||
RewriteRule ^assets - [L]
|
||||
RewriteRule ^.well-known - [L]
|
||||
RewriteRule . index.php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue