2024-02-12 21:21:05 +00:00
|
|
|
Options -Indexes
|
|
|
|
|
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteBase /
|
|
|
|
|
|
|
|
# Redirect all paths to queries
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule ^(.*)$ index.php?path=$1 [QSA,L]
|
|
|
|
</IfModule>
|
|
|
|
|
2025-01-23 07:41:27 +00:00
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
# Make all /post/*.json served with correct MIME
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond %{REQUEST_URI} ^/posts/
|
|
|
|
RewriteRule ^ - [T=application/activity+json]
|
|
|
|
</IfModule>
|