Ticket #952 (new defect)

Opened 2 years ago

Drop trailing slash

Reported by: justin@transphorm.com Assigned to: jan
Priority: normal Milestone:
Component: core Version: 1.4.13
Severity: normal Keywords:
Cc: Blocking:
Need Feedback:

Description

I have read numerous articles about lighttpd not adding a trailing a slash, however my problem is the opposite. When running the mephisto blog (fcgi + lighttpd) adding an extra slash interferes with the ability to post comments.

The slash is added because lighttpd picks up the cache directory and subsequently adds a slash to it. If the cached directory is deleted then the extra slash disappears.

I wrote a url.rewrite, url.rewrite-once ( "/(.*)/(.*)/(.*)/(.*)/$" => "/$1/$2/$3/$4" ) for /2006/12/29/my-blog-article/. However the server will loop forever.

I'm requesting that there should be an option to disable or enable trailing slashes. If there is already an option like that then I apologize for wasting your time. Thanks.

Justin

Attachments


Add/Change #952 (Drop trailing slash)




Change Properties