23 lines
729 B
ApacheConf
23 lines
729 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&)
|
|
RewriteRule ^degu/modules/xoonips/download.php /data/degu/file/%2? [R=301,L]
|
|
|
|
RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&)
|
|
RewriteRule ^jm/modules/xoonips/download.php /data/jm/file/%2? [R=301,L]
|
|
|
|
RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&)
|
|
RewriteRule ^marmoset/modules/xoonips/download.php /data/marmoset/file/%2? [R=301,L]
|
|
|
|
RewriteRule ^index\.html$ - [L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME} !-l [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteCond %{REQUEST_FILENAME}index.html !-f
|
|
RewriteRule . /index.html [L]
|
|
</IfModule>
|