2023-10-19 21:54:37 +02:00
|
|
|
|
2023-12-11 16:18:01 +01:00
|
|
|
AddType text/plain .md
|
2024-01-04 16:03:02 +01:00
|
|
|
AddType text/plain .atom
|
|
|
|
AddType text/plain .rss
|
2023-12-11 16:18:01 +01:00
|
|
|
|
2024-01-11 14:37:06 +01:00
|
|
|
# php_value upload_max_filesize 40M
|
|
|
|
# php_value post_max_size 42M
|
2023-12-11 16:20:27 +01:00
|
|
|
|
2023-10-19 21:54:37 +02:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteBase /
|
|
|
|
|
2024-01-22 16:48:52 +01:00
|
|
|
RewriteCond %{REQUEST_URI} !^/(raw|static)/
|
2024-01-11 14:37:06 +01:00
|
|
|
RewriteRule ^.*\.(flv|gif|ico|jpg|jpeg|mp4|mpeg|png|svg|swf|webp)$ raw/%{HTTP_HOST}%{REQUEST_URI} [L,END]
|
|
|
|
|
|
|
|
RewriteRule ^/?raw/(.*)$ raw/%{HTTP_HOST}/$1 [L,END]
|
|
|
|
|
2024-01-22 16:48:52 +01:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond %{HTTPS} !on
|
|
|
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,END]
|
|
|
|
|
2024-01-04 16:03:02 +01:00
|
|
|
RewriteCond %{REQUEST_URI} !^/?(static|raw|robots\.txt).*
|
2023-10-19 21:54:37 +02:00
|
|
|
RewriteRule (.*) router.php
|
2023-12-11 16:18:01 +01:00
|
|
|
|
|
|
|
Allow from all
|
|
|
|
|
|
|
|
Options +Indexes
|
|
|
|
|
|
|
|
<filesMatch ".(flv|gif|ico|jpg|jpeg|mp4|mpeg|png|svg|swf|webp)$">
|
|
|
|
Header set Cache-Control "max-age=315360, public"
|
|
|
|
</filesMatch>
|
|
|
|
|
|
|
|
<filesMatch ".(js)$">
|
|
|
|
Header set Cache-Control "max-age=315360, public"
|
|
|
|
</filesMatch>
|