Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options +FollowSymLinks -MultiViews
- # Turn mod_rewrite on
- RewriteEngine On
- RewriteBase /
- RewriteCond %{HTTPS} !=on
- RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- RewriteCond %{HTTP_HOST} ^51.68.139.252
- RewriteRule (.*) https://vgocoat.com/$1 [R=301,L]
- RewriteRule ^/?profile/(.*?)/?$ /profile?id=$1 [L]
- RewriteRule ^/?inventory/(.*?)/?$ /inventory?id=$1 [L]
- RewriteRule ^/?raffle/(.*?)/(.*?)/?$ /raffle?round=$1&hash=$2 [L]
- RewriteRule ^/?game/(.*?)/(.*?)/?$ /game?round=$1&hash=$2 [L]
- RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
- RewriteRule ^ %1 [R,L]
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME}.php -f
- RewriteRule ^(.*?)/?$ $1.php [L]
- ErrorDocument 400 /index
- ErrorDocument 401 /index
- ErrorDocument 403 /index
- ErrorDocument 404 /index
- ErrorDocument 500 /index
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement