summaryrefslogtreecommitdiff
path: root/src/.htaccess
diff options
context:
space:
mode:
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]