DragonFly Object not found in Production

14 views
Skip to first unread message

enrico stano

unread,
Nov 5, 2012, 1:19:33 PM11/5/12
to phusion-...@googlegroups.com, rubyonra...@googlegroups.com
could please anyone help me with this issue?

http://stackoverflow.com/questions/13237954/object-not-found-in-production

thanks,

enrico

--
· Enrico Stano
·
· twitter @enricostano
· skype ocirneonats

enrico stano

unread,
Nov 7, 2012, 8:27:41 AM11/7/12
to phusion-...@googlegroups.com, rubyonra...@googlegroups.com
so...

I just realized that relative links like

<a href="/media/etcetc">I'm a relative link</a>

generate URLs like

www.mysite.it/media/etcetc


while they should generate

www.mysite.it/copisteria/media/etcetc

This happens only for relative links, for example Rails' link_to method
just works fine.

Any hint?

I was following the Passenger official guide to deploy a Rails 3.x to a subfolder.

Thank you
Reply all
Reply to author
Forward
0 new messages