Once a user is created the home dir is say /home/username
there is a paraphrase in /etc/httpd/conf/access.conf
<directory /home/*/public_html>
Options FollowSymLinks
</directory>
This will let you browse the home directory as http://host/~username
The file that will be picked up will be public_html in the home dir of the
user
Note that the file should be readable by the webserver user i.e the user the
webserver runs as (nobody ??)
By default apache follows a lenient code ... enforce security by reading the
security section of the apache
documentation which is browsable by http://host by default

HTH


>Actually it is looked into /home/httpd/html/username
>So you need to create this directory, adduser just creates a directory
>/home/username
>
>Hope this helps
>
>Prasad Mhatre
>
>
>-----Original Message-----
>From: satya <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Friday, June 18, 1999 7:41 PM
>Subject: Re: cgi-scripts for our site
>
>
>On Fri, 18 Jun 1999 [EMAIL PROTECTED] wrote:
>
>> I remember some people promising this once they finished their exams
>> etc...I think the exams are long over. :-)
>
>/me hides
>
>i think someone else was there, too. and let me get my system up, first,
>apache refuses (error 403) to let me at http://localhost/~user/
>
>i config'd srm.conf, i dont know what's happening. let me bang on it some
>more...
>
></ramble>
>
>--
>Satya.
>Freelance website designer and CGI/Perl programmer.
>http://satyaonline.cjb.net/
>
>
>
Sandesh Rao
Database Administrator (NSE)
ph : (off) 4940701 (res) 3855353


Reply via email to