Initial commit
This commit is contained in:
19
.htaccess_example
Normal file
19
.htaccess_example
Normal file
@@ -0,0 +1,19 @@
|
||||
RewriteEngine on
|
||||
# root directory:
|
||||
RewriteBase /projects/RegattenApp/
|
||||
|
||||
|
||||
|
||||
### RESTRICTED FOLDER
|
||||
RewriteRule ^(.*)server(.*)$ / [R=301,L,NC]
|
||||
RewriteRule ^(.*)content(.*)$ / [R=301,L,NC]
|
||||
|
||||
|
||||
|
||||
### CONTENT LOADER
|
||||
|
||||
# Keep this subfolders untouched
|
||||
RewriteRule ^(api)($|/) - [L]
|
||||
|
||||
# Show site
|
||||
RewriteRule ^([^\.]*)$ index.php?request=$1 [QSA]
|
||||
Reference in New Issue
Block a user