Opened 15 years ago
Closed 15 years ago
#8836 closed enhancement (worksforme)
Redirect loop when clicking wiki link when using apache with mod_dir
Reported by: | vasili ( at] techcollective . com | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | none |
Severity: | normal | Keywords: | trailing slash wiki redirect |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I recently noticed that clicking on the wiki link in my trac instance would create an infinite redirect loop between myserver.com/wiki and myserver.com/wiki/ (with and without a trailing slash). To solve the problem, I had to add
DirectorySlash off
to my apache configuration to stop it appending a trailing slash to the URL.
Strangely, only the wiki link was affected, while the timeline, roadmap, etc links were fine.
This isn't a problem with trac, but it would be nice if the documentation mentioned the need to use this setting when mod_dir is being used.
Well, I guess this ticket is enough.
(try to see if the "google loop" works: google:"trac+mod_dir"… yes, back here ;-) ).