-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.htaccess
More file actions
25 lines (20 loc) · 698 Bytes
/
Copy path.htaccess
File metadata and controls
25 lines (20 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /mmoma/api/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^(.*)$ $1/ [R=301,L]
RewriteCond %{THE_REQUEST} //+
RewriteRule ^(.*)$ $1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?request=$1 [QSA,L]
RedirectMatch 301 /home(.*) //$1
RedirectMatch 301 /surface(.*) //$1
RedirectMatch 301 /tools(.*) //$1
RedirectMatch 301 /filters(.*) //$1
RedirectMatch 301 /sending(.*) //$1
RedirectMatch 301 /my-museum(.*) //$1
Redirect 301 http://188.227.16.35/surface http://188.227.16.35
</ifModule>