brainatlas.brain.riken.jp/public/.htaccess

23 lines
729 B
ApacheConf
Raw Normal View History

2023-07-28 22:05:26 +09:00
<IfModule mod_rewrite.c>
RewriteEngine On
2022-06-08 13:15:52 +09:00
RewriteBase /
RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&)
2023-07-28 22:05:26 +09:00
RewriteRule ^degu/modules/xoonips/download.php /data/degu/file/%2? [R=301,L]
2022-06-08 13:15:52 +09:00
RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&)
2023-07-28 22:05:26 +09:00
RewriteRule ^jm/modules/xoonips/download.php /data/jm/file/%2? [R=301,L]
2022-06-08 13:15:52 +09:00
RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&)
2023-07-28 22:05:26 +09:00
RewriteRule ^marmoset/modules/xoonips/download.php /data/marmoset/file/%2? [R=301,L]
RewriteRule ^index\.html$ - [L]
2022-06-08 13:15:52 +09:00
RewriteCond %{REQUEST_FILENAME} !-f
2023-07-28 22:05:26 +09:00
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l [OR]
2022-06-08 13:15:52 +09:00
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}index.html !-f
RewriteRule . /index.html [L]
2023-07-28 22:05:26 +09:00
</IfModule>