mirror of
https://github.com/michaelstaake/mainty.git
synced 2026-04-16 11:30:13 +00:00
Initial version upload
This commit is contained in:
14
example.htaccess
Normal file
14
example.htaccess
Normal file
@@ -0,0 +1,14 @@
|
||||
RewriteEngine On
|
||||
#if this is in a folder, edit this. example.com/mainty/ would be /mainty/
|
||||
RewriteBase /
|
||||
|
||||
# Redirect to HTTPS (optional, uncomment if needed)
|
||||
# RewriteCond %{HTTPS} off
|
||||
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
|
||||
# Don't rewrite files or directories
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
|
||||
# Rewrite everything else to index.php
|
||||
RewriteRule ^(.*)$ index.php [L,QSA]
|
||||
Reference in New Issue
Block a user