I am running Mephisto Blog (Ruby on Rails) with LiteSpeed 2.2.6 standard. With the exception of this post, everything's been working great.
Problem is that LiteSpeed, just like Apache, tries to help by redirecting certain URLs that don't end with a trailing slash by adding the slash back in. So in my access log, I get the following kind of pattern when posting comments:
[11/Jan/2007:19:52:29 +0100] "POST /2007/1/8/test-blog-post/comments HTTP/1.1" 301 414
[11/Jan/2007:19:52:29 +0100] "GET /2007/1/8/test-blog-post/comments/ HTTP/1.1" 302 127
Even worse, this breaks Mephisto which uses this fancy way of adressing, so that users cannot post to my blog site. The problem is well documented in the Mephisto community: http://mephisto.stikipad.com/help/show/Developer+Tips
From the above link, I have understood that in the Apache vhost section I could have set:
<Location />
DirectorySlash Off
</Location>
How can I achieve the same in LiteSpeed?
Thanks for any help!
Problem is that LiteSpeed, just like Apache, tries to help by redirecting certain URLs that don't end with a trailing slash by adding the slash back in. So in my access log, I get the following kind of pattern when posting comments:
[11/Jan/2007:19:52:29 +0100] "POST /2007/1/8/test-blog-post/comments HTTP/1.1" 301 414
[11/Jan/2007:19:52:29 +0100] "GET /2007/1/8/test-blog-post/comments/ HTTP/1.1" 302 127
Even worse, this breaks Mephisto which uses this fancy way of adressing, so that users cannot post to my blog site. The problem is well documented in the Mephisto community: http://mephisto.stikipad.com/help/show/Developer+Tips
From the above link, I have understood that in the Apache vhost section I could have set:
<Location />
DirectorySlash Off
</Location>
How can I achieve the same in LiteSpeed?
Thanks for any help!