Skip to content

Commit

Permalink
whitebikes.info - htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
sveneld committed Feb 26, 2024
1 parent 5b3b5c4 commit e09edb9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
php_flag auto_globals_jit off
RewriteEngine on
RewriteRule ^sms/(.*)$ $1
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*?)/?$ $1.php [L]

RewriteCond %{HTTP_HOST} ^www.whitebikes.info [NC]
RewriteRule ^(.*)$ https://whitebikes.info/$1 [R=301,L]

RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://whitebikes.info/$1 [R=301,L]
RewriteRule ^register[/]*$ /register.php

0 comments on commit e09edb9

Please sign in to comment.