first commit
This commit is contained in:
25
.htaccess
Normal file
25
.htaccess
Normal file
@@ -0,0 +1,25 @@
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
Options +FollowSymlinks
|
||||
Options -Indexes
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^bilety\.brzezovka\.pl$
|
||||
RewriteRule ^$ /tickets/main_view/ [L,R=301]
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
|
||||
RewriteCond %{SERVER_PORT} !=443
|
||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=permanent]
|
||||
|
||||
RewriteCond %{REQUEST_URI} !^(.*)/libraries/(.*) [NC]
|
||||
RewriteCond %{REQUEST_URI} !^(.*)/layout/(.*) [NC]
|
||||
RewriteCond %{REQUEST_URI} !^(.*)/resources/(.*) [NC]
|
||||
RewriteCond %{REQUEST_URI} !^(.*)/images/(.*) [NC]
|
||||
RewriteCond %{REQUEST_URI} !^(.*)/orders/(.*) [NC]
|
||||
RewriteCond %{REQUEST_URI} !^(.*)/posters_images/(.*) [NC]
|
||||
RewriteCond %{REQUEST_URI} !^(.*)/domain_tester_images/(.*) [NC]
|
||||
RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L]
|
||||
|
||||
#RewriteRule $ index.php?module=tickets&action=main_view [L]
|
||||
RewriteRule ^logowanie$ index.php?module=users&action=login_form [L]
|
||||
RewriteRule ^finances/tags.json$ index.php?module=finances&action=tags_json [L]
|
||||
Reference in New Issue
Block a user