-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.htaccess
56 lines (47 loc) · 1.64 KB
/
.htaccess
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Add manifest type
AddType text/cache-manifest manifest
# Rewrite setting.
<IfModule mod_rewrite.c>
#
# Set Rewrite On
RewriteEngine On
#
# Set Rewrite Base
RewriteBase /
#
# Rewrite URLs of the form 'x' to the form 'admin.php?q=x'.
RewriteCond %{HTTP_HOST} ^edmmch\.fxmapp\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ merchant.php?q=$1 [QSA,L]
#
# Rewrite URLs of the form 'x' to the form 'admin.php?q=x'.
RewriteCond %{HTTP_HOST} ^edmadm\.fxmapp\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ admin.php?q=$1 [QSA,L]
#
# Rewrite URLs of the form 'x' to the form 'api.php?q=x'.
RewriteCond %{HTTP_HOST} ^edmapi\.fxmapp\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ api.php?q=$1 [QSA,L]
#
# Rewrite fst.js
RewriteRule ^fst\.(js|gif)$ fst.php [L,QSA]
# Rewrite URLs of the form 'x' to the form 'mobile.php?q=x'.
RewriteCond %{HTTP_HOST} ^m\.ydmbuy\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ mobile.php?q=$1 [QSA,L]
#
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [QSA,L]
</IfModule>