| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|apache 2 new install|
my images won't load?
| 9:21 am on May 8, 2004 (gmt 0)|
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
| 9:31 am on May 8, 2004 (gmt 0)|
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...
| 11:14 am on May 8, 2004 (gmt 0)|
thanks - it was exactly that :-)
and there i was thinking i was a bit of a *nix guru - lol
| 11:17 am on May 8, 2004 (gmt 0)|
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