-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtaccess.txt
40 lines (35 loc) · 1.4 KB
/
htaccess.txt
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
# SSLRequireSSL
RewriteEngine On
# force ssl
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^actions.json$ actions.php [L]
# rpc requests
RewriteRule ^rpc/([^.]*)$ "/rpc/rpc.php" [L,QSA]
# swap requests
RewriteRule ^swap-nft/([^.]*)$ "/index.html" [L,QSA]
RewriteRule ^swap-pnft/([^.]*)$ "/index.html" [L,QSA]
RewriteRule ^swap-cnft/([^.]*)$ "/index.html" [L,QSA]
RewriteRule ^swap-core/([^.]*)$ "/index.html" [L,QSA]
RewriteRule ^swap/([^.]*)$ "/index.html" [L,QSA]
# swap requests (spl)
RewriteRule ^spl/([^.]*)$ "/index.html" [L,QSA]
# propose requests
RewriteRule ^propose/([^.]*)/([^.]*)$ "/index.html" [L,QSA]
# propose requests
RewriteRule ^propose/([^.]*)$ "/index.html" [L,QSA]
# redirect images and css for skinning support
RewriteRule ^img/(.*)$ /css/skins/default/img/$1 [L]
RewriteRule ^css/custom.css$ "/css/skins/default/default.css" [L]
# blink paths
RewriteRule ^createSPL$ "/index.html" [L,QSA]
RewriteRule ^createNFT$ "/index.html" [L,QSA]
RewriteRule ^createPNFT$ "/index.html" [L,QSA]
RewriteRule ^createCNFT$ "/index.html" [L,QSA]
RewriteRule ^createCORE$ "/index.html" [L,QSA]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php80” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit