?
Solved

I'm a starter who can give me one hand

Posted on 2003-02-22
6
Medium Priority
?
230 Views
Last Modified: 2010-04-20
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
Comment
Question by:gekopmac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 9

Expert Comment

by:majorwoo
ID: 8000443
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
 

Expert Comment

by:xjman251x
ID: 8183890
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
 

Expert Comment

by:xjman251x
ID: 8183906
Or the links themselves are incorrect format....
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Expert Comment

by:CleanupPing
ID: 9087902
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
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9259426
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
 

Accepted Solution

by:
YensidMod earned 0 total points
ID: 9325545
PAQed per request/recommendation - No Refund

YensidMod
Community Support Moderator
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question