Forum: Mongrel Trailing "/" not implicitly added to end of URI

Posted by Hector Parra (Guest)
on 2008-10-16 10:02
(Received via mailing list)
I'm running a single mongrel instance with a registered DirHandler.

I cannot use relative paths in any HTML that is served (e.g.
"images/myimage.png") unless there is an explicit "/" at the end of my
URI. So

http://mywebsite.com/folder/ (image works)
http://mywebsite.com/folder (image does not work)

Is this a bug or was it designed this way. Is there an accepted way to
get this working?

Thanks

HGP
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.