git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4967072
)
page: do not redirect slash to directory requests
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 12 Jul 2018 19:54:42 +0000
(21:54 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 16 Jul 2018 05:40:08 +0000
(07:40 +0200)
Fix pathless requests to upcoming edit pages.
.htaccess
patch
|
blob
|
history
diff --git
a/.htaccess
b/.htaccess
index 84f6a8d5475d8fd5d600e78ab53465bac3630fd8..85cbe8f75d0bffee21ed03ba62354e22079628fe 100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-1,3
+1,6
@@
+# no need to add trailing slashes, breaks edit scripts
+DirectorySlash Off
+
RewriteEngine on
RewriteBase /