Edgewall Software
Modify

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.

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Resolution: worksforme
Status: newclosed

Well, I guess this ticket is enough.

(try to see if the "google loop" works: google:"trac+mod_dir"… yes, back here ;-) ).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.