[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Accessing users' pages on Apache



El(On) Sat, 14 Sep 2002 00:13:30 -0500
Kent West <westk@acu.edu> escribió(wrote):

> nate wrote:
> 
> >Kent West said:
> >
> >  
> >
> >>>grep -i userdir /etc/apache/httpd.conf
> >>>
> >>>nate
> >>>
> >>>      
> >>>
> >>westk03[westk]:/home/westk> grep -i westk /etc/apache/httpd.conf
> >>ServerAdmin westk@acu.edu
> >>    
> >>
> >
> >er i meant actually do grep -i userdir /etc/apache/httpd.conf
> >
> >there is an apache runtime directive called UserDir
> >
> >
> >nate
> >
> Sorry  :-\
> 
> 
> westk03[westk]:/home/westk> grep -i userdir /etc/apache/httpd.conf
> LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
> # UserDir: The name of the directory which is appended onto a user's home
> <IfModule mod_userdir.c>
>     UserDir public_html
> # Control access to UserDir directories.  The following is an example
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

1. Make sure you have the following line uncommented in /etc/apache/httpd.conf:

LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so

(the 1.3 can be differente depending of the version)

2. Make sure you have the following code in httpd.conf:

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

3. Restart apache.

4. Make sure you have a valid index.html file in /home/westk/public_html

5. Make sure you access the page using http://localhost/~westk/

 (note the / at the end)


It doesn't work yet?



-- 
 ______________________________________________________
                                  ______  _____________
  Marcelo Ramos                  |      \/       __    |
  Debian 3.0 GNU/Linux 2.2.20    |              |_/    /
  Linux registered user #118109  |                     \
  mramos@montevideo.com.uy       |_____|\/|_____|\______\



Reply to: