could please anyone help me with this issue?
thanks,
enrico
–
Enrico Stano
twitter @enricostano
skype ocirneonats
could please anyone help me with this issue?
thanks,
enrico
–
Enrico Stano
twitter @enricostano
skype ocirneonats
so…
I just realized that relative links like
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
methodjust works fine.
Any hint?
I was following the Passenger official guide to deploy a Rails 3.x to a
subfolder.
Thank you
Il giorno luned 5 novembre 2012 19:19:36 UTC+1, enrico stano ha scritto:
On 7 November 2012 13:27, enrico stano [email protected] wrote:
so…
I just realized that relative links like
If it starts with a / is is not a relative link, it is an absolute link.
Try
Hi,
I understand your point, but it doesn’t apply with things like DragonFly
@model.file.url that resolve in /media/etcetc
But it seems an Apache/Passenger issue while deploying to a
subdirectory…
deploying to Heroku just works fine
I’ve changed a bit the issue on SO
many thanks for your help!
Il giorno mercoled 7 novembre 2012 15:11:24 UTC+1, Peter H. ha
scritto:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs