Link to home
Start Free TrialLog in
Avatar of gekopmac
gekopmac

asked on

I'm a starter who can give me one hand

I'm trying to setup a webserver with apache.
that's running and ok, but i'll use it for different users with there own homepage. I'v change the httpd.conf file.
What's happening: when i use <domain>/~user then i got the index.html file but not the pictures in in the file.
there is a error in the log
[Sat Feb 22 15:04:44 2003] [error] [client 10.0.0.151] File does not exist: /var/www/html/ik2.jpg, referer: http://10.0.0.100/~henk/index.html
[Sat Feb 22 15:13:58 2003] [error] [client 10.0.0.151] File does not exist: /var/www/html/ik1.jpg, referer: http://10.0.0.100/~henk/index.html
I want for every user the own home dir /~user where they put
the files.

How can i change that ?

rgd Henk de Sain

henk@desain.nl
Avatar of majorwoo
majorwoo

what version of apache? there are slightly different ways in the new 2.0

the default was to create a public_html folder in ~user and set permissions correctly to avoid forbidden errors:

chmod 711 ~user
mkdir ~user/public_html
chmod 755 ~user/public_html

and ensure files inside  are world readable
chmod 644 ~user/public_html/*.html
Where are those images located?  And how are they referenced in your index.html file?  Sounds like the images may be outside of where the web server can 'see' them.
Or the links themselves are incorrect format....
gekopmac:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Be PAQ'd/Points No Refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of YensidMod
YensidMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial