feat: ✨ add new file metadata handling (.ext.md instead of .mddesc)
This commit is contained in:
parent
d39595d577
commit
c202b778e0
3 changed files with 37 additions and 32 deletions
|
@ -3,12 +3,17 @@ AddType text/plain .md
|
|||
AddType text/plain .atom
|
||||
AddType text/plain .rss
|
||||
|
||||
php_value upload_max_filesize 40M
|
||||
php_value post_max_size 42M
|
||||
# php_value upload_max_filesize 40M
|
||||
# php_value post_max_size 42M
|
||||
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
|
||||
RewriteCond %{REQUEST_URI} !^/raw/
|
||||
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]
|
||||
|
||||
RewriteCond %{REQUEST_URI} !^/?(static|raw|robots\.txt).*
|
||||
RewriteRule (.*) router.php
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue