mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
.htaccess token Fix
This commit is contained in:
1 parent
cdcc63a81a
commit
34ee711182
1 file changed
+4
@@ -4,6 +4,10 @@ RewriteEngine On
|
|||||||
RewriteCond %{HTTPS} off
|
RewriteCond %{HTTPS} off
|
||||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
|
|
||||||
|
#token to HTTP_AUTHORIZATION
|
||||||
|
RewriteCond %{HTTP:Authorization} ^(.)
|
||||||
|
RewriteRule . - [e=HTTP_AUTHORIZATION:%1]
|
||||||
|
|
||||||
# serve all files from public subfolder
|
# serve all files from public subfolder
|
||||||
RewriteCond %{REQUEST_FILENAME} !.php
|
RewriteCond %{REQUEST_FILENAME} !.php
|
||||||
RewriteCond %{REQUEST_FILENAME} \.
|
RewriteCond %{REQUEST_FILENAME} \.
|
||||||
|
|||||||
Reference in new issue
Block a user