# Trailing "/" not implicitly added to end of URI

**URL:** <https://www.ruby-forum.com/t/trailing-not-implicitly-added-to-end-of-uri/151043>\
**Category:** Mongrel\
**Created:** [October 16, 2008, 10:02am UTC](https://www.ruby-forum.com/t/trailing-not-implicitly-added-to-end-of-uri/151043 "2008-10-16T10:02:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hector\_Parra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/97f17d/32.png) [@Hector\_Parra](https://www.ruby-forum.com/u/Hector_Parra)\
**Post date:** [October 16, 2008, 10:02am UTC](https://www.ruby-forum.com/t/trailing-not-implicitly-added-to-end-of-uri/151043/1 "2008-10-16T10:02:57Z")

</div>

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

[mywebsite.com is available for purchase - Sedo.com](http://mywebsite.com/folder/) (image works)  
[mywebsite.com is available for purchase - Sedo.com](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
