summaryrefslogtreecommitdiff
path: root/src/.htaccess
diff options
context:
space:
mode:
authorJonas Kohl2024-09-17 13:39:12 +0200
committerJonas Kohl2024-09-17 13:39:12 +0200
commitf6dd78734f86f8daed7c5d472e7a199301095ff8 (patch)
treeef173ed502e189b25c6b5af08db982943adca718 /src/.htaccess
parente8ab5cbddd018f311e2d942c048203b8b3221e4e (diff)
More theme and i18n stuff
Diffstat (limited to 'src/.htaccess')
-rw-r--r--src/.htaccess5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/.htaccess b/src/.htaccess
index f4a5e0d..d167d15 100644
--- a/src/.htaccess
+++ b/src/.htaccess
@@ -1,3 +1,8 @@
+DirectorySlash Off
+
RewriteEngine On
RewriteRule ^/?@([a-z0-9]([._](?![._])|[a-z0-9]){2,30}[a-z0-9])$ /index.php?_action=lookupuser&handle=$1 [L]
+
+RewriteRule ^/?vendor/ - [F,L]
+RewriteRule ^/?composer\. - [F,L]