Initial Commit

This commit is contained in:
GiacomoHome
2021-09-17 12:41:45 +02:00
commit 9001e4656e
570 changed files with 31013 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#Cache Mensile
<FilesMatch "\.(js|css|pdf|txt|png|jpg)$">
Header set Cache-Control "max-age=7200"
</FilesMatch>
SetEnv APPLICATION_ENV production
RewriteEngine On
# RewriteCond %{SERVER_PORT} 80
# RewriteRule ^(.*)$ https://apidev.fatturab2b.net/$1 [R,L]
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
# force https:// for all except some selected URLs
RewriteCond %{HTTPS} off
#RewriteCond %{THE_REQUEST} !/v1/ [NC]
RewriteCond %{THE_REQUEST} !/services/ [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^(application|library|languages|log|vendor|rsa)(/.*)?$ - [F]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]