List Info

Thread: Trailing slash




Trailing slash
user name
2006-05-25 20:12:33
It was code in blojsom servlet to check for a trailing slash and forward to a URL if no trailing slash was present. It was in there because blojsom used the path information to select the category.


On 5/24/06 9:32 AM, "Jason Linscombe&quot; <linscombejcmalliance.org> wrote:


I’ve been thinking about this problem a little more and I am now wondering if the problem is even related to blojsom.  Could it be that Apache can be configured to add the trailing slash?

I notice if I type in “http://www.blojsom.com/blog/david” it automatically forwards me to “http://www.blojsom.com/blog/david/”  (note the “/&#8221; at the end).  &nbsp;How do you do that?  &nbsp; jason



On 5/10/06 10:37 AM, "Linscombe, Jason"; <LinscombeJcmalliance.org> wrote:

I have a multi-user OS X version of blojsom that I am using and I recently
noticed that the trailing slash in the URL is required to view a blog or it
simply displays whichever blog you have set as default.  I updated the
properties file to assign a blog named “news” as default instead of apple's
default.  For example, if I want to go to a blog named
http://blogs.domain.com/weblog/jason it cannot find it (it pulls up news
instead) unless I add the trailing slash. Like this:
http://blogs.domain.com/weblog/jason/

If that's just the way it works that's fine with me.  I just thought I
remembered it working without the trailing slash before I did a software
update not too long ago.  I checked the apple discussions which no luck.
Also tried to keep an eye on this list and found no one else with the same
problem but I may have overlooked something.  Any thoughts?

much appreciated.
 &nbsp;jason






--
David Czarnecki

http://www.blojsom.com/blog/ | http://blojsom.sf.net
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )