| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|apache 2 new install|
my images won't load?
hi just set up apache 2 for the first time (redhat enterprise, everything by rpm) and my images won't load?
i have created a simple html file with a logo in it, but although i can see the title of the page and view source correctly, the image just won't load. the paths are correct.
is there some content setting i have to change?
much appreciate the help
added: i have just seen the following in the error_log
Permission denied: file permissions deny server access: /var/www/sites/mysite/htdocs/logo_big.gif
and am not sure what it refers to
Check the permissions of that directory and the images. If you created the dir or images as root, you prolly dont have the correct perms on them...
chmod -R 755 /var/www/sites/mysite/htdocs/
Should do it I think...
thanks - it was exactly that :-)
and there i was thinking i was a bit of a *nix guru - lol
You might need to change ownership also, if you wish to edit files etc in that dir as your normal user: chown -R username /dir
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved