Files
RegattenApp/.htaccess_example
Timon Ostertun 139543199e Initial commit
2020-09-19 12:56:10 +02:00

19 lines
332 B
Plaintext

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]