Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{SERVER_PORT} 80
- RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
- Options +FollowSymLinks
- IndexIgnore */*
- RewriteEngine On
- #Admin
- Rewriterule ^admin$ index.php?r=Cms/admin/home
- #Install
- Rewriterule ^install$ install.php?r=Install/default
- # if a directory or a file exists, use it directly
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} !.(js|ico|gif|jpg|png|css)$
- # otherwise forward it to index.php
- RewriteRule . index.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement