homepage Welcome to WebmasterWorld Guest from 54.211.73.232
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
apache 2 new install
my images won't load?
jamie

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1513 posted 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

 

Nick_W

WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1513 posted 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...

Nick

jamie

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1513 posted 11:14 am on May 8, 2004 (gmt 0)

hi nick,

thanks - it was exactly that :-)

and there i was thinking i was a bit of a *nix guru - lol

Nick_W

WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1513 posted 11:17 am on May 8, 2004 (gmt 0)

Cool!

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

Nick

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved