12 lines
354 B
ApacheConf
12 lines
354 B
ApacheConf
|
RewriteEngine on
|
||
|
RewriteBase /
|
||
|
|
||
|
RewriteCond %{QUERY_STRING} (^|&)file_id=([0-9]+)($|&)
|
||
|
RewriteRule ^modules/xoonips/download.php /modules/xoonips/file/%2? [R=301,L]
|
||
|
|
||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||
|
RewriteCond %{REQUEST_FILENAME} !-d [OR]
|
||
|
RewriteCond %{REQUEST_FILENAME} -d
|
||
|
RewriteCond %{REQUEST_FILENAME}index.html !-f
|
||
|
RewriteRule . /index.html [L]
|