I don’t think that’s my issue. I’m also fairly certain it’s not
permissions based. I went to the images directory via my web browser
(foo.com/images) and, instead of seeing the images listed, I get a
directory listing like so:
Index of /images/
Name Last Modified Size Type
Parent Directory/ - Directory
C/ 2006-Jun-05 16:55:14 - Directory
desktop-base/ 2006-Jun-05 17:04:25 - Directory
No idea why I would see C/ or desktop-base… I have no idea where those
dirs might be located on my server. This is a ubuntu dapper install
(fresh) running lighttpd.
those directories are in /usr/share/images… so for some reason my rails
app is looking for images in /usr/share/images instead of
/pathto/rails/app/public/images
Anyone know why that might be happening?
This is probably a setting on your webserver that points any url
containing /images to that directory.
I don’t understand why this would result in the routing errors that you
originally reported though.
those directories are in /usr/share/images… so for some reason my rails
app is looking for images in /usr/share/images instead of
/pathto/rails/app/public/images
Anyone know why that might be happening?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.