game/.htaccess

87 lines
2.7 KiB
ApacheConf
Raw Normal View History

2022-06-06 21:30:34 +00:00
DefaultLanguage ru
2024-02-10 01:12:05 +00:00
<IfModule mod_headers.c>
Header always set X-Content-Type-Options nosniff
</IfModule>
2024-02-10 01:12:05 +00:00
<IfModule mod_rewrite.c>
Options -Indexes
Options -MultiViews
RewriteEngine On
2024-02-10 01:12:05 +00:00
RewriteCond %{HTTP:VIA} !^$ [OR]
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
RewriteRule (.+) https://new-combats.tech/proxy/
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteBase /
RewriteCond %{ENV:REDIRECT} !^yes$
RewriteRule ruletka.pl ruletka.php [L]
RewriteRule bandit.pl bandit.php [L]
RewriteRule blackjack.pl blackjack.php [L]
RewriteRule casino/SWFP.pl casino/SWFP.php [L]
RewriteCond %{ENV:REDIRECT} !^yes$
RewriteRule ^r([0-9]+)/?$ /register.php?ref=$1 [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^settings/?$ /settings.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^info/(.*)/?$ /inf.php?$1 [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^rating_pers/?$ /reting_pers.php [L]
RewriteRule ^rating_pers/(.*)/?$ /reting_pers.php?$1 [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^rating_clans/?$ /reting_clans.php [L]
RewriteRule ^rating_clans/(.*)/?$ /reting_clans.php?$1 [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^clan/(.*)/?$ /clans_inf.php?$1 [L]
RewriteRule ^clan/?$ /clans_inf.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^news/(.*)/?$ /n/$1 [R=301,L]
RewriteRule ^news/?$ /n [R=301,L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^n/(.*)/?$ /news_script/index.php?$1 [L]
RewriteRule ^n/?$ /news_script/index.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^forum/(.*)/?$ /forum_script/index.php?$1 [L]
RewriteRule ^forum/?$ /forum_script/index.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^shadow/(.*)/?$ /obraz.php?$1 [L]
RewriteRule ^shadow/?$ /obraz.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^dress/(.*)/?$ /dress.php?$1 [L]
RewriteRule ^dress/?$ /dress.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^monitoring/(.*)/?$ /hmonitor.php?$1 [L]
RewriteRule ^monitoring/?$ /hmonitor.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^rating/(.*)/?$ /rating_script/index.php?$1 [L]
RewriteRule ^rating/?$ /rating_script/index.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^item/(.*)/?$ /items_info.php?$1 [L]
RewriteRule ^item/?$ /items_info.php [L]
RewriteRule ^repass/?$ /repass.php [L]
2023-01-10 16:29:32 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^mail/(.*)/?$ /mailconf.php?$1 [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^register/?$ /register.php [L]
2024-02-10 01:12:05 +00:00
RewriteRule ^reg/?$ /register.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^enter/?$ /enter.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^bk/?$ /buttons.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^mobile/?$ /main_mobile.php [L]
2022-06-06 21:30:34 +00:00
2024-02-10 01:12:05 +00:00
RewriteRule ^btl([0-9]+)/?$ /jx/battle/refresh$1.php [L]
RewriteRule ^/n/?$ /news_script/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
2022-06-06 21:30:34 +00:00
</IfModule>