Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

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
0
gekopmac
Asked:
gekopmac
1 Solution
 
majorwooCommented:
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
0
 
xjman251xCommented:
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.
0
 
xjman251xCommented:
Or the links themselves are incorrect format....
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CleanupPingCommented:
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.
0
 
paullamhkgCommented:
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
0
 
YensidModCommented:
PAQed per request/recommendation - No Refund

YensidMod
Community Support Moderator
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now