[csw-users] Per user directories

Manish Agrawal magrawal at coba.usf.edu
Thu Nov 9 17:44:30 CET 2006


I am trying to get per-user directories in Apache2 (Solaris x86). I have cswapache2 running:

-bash-3.00# svcs -a | grep apa
legacy_run     17:23:56 lrc:/etc/rc3_d/S50apache
disabled       17:22:58 svc:/network/http:apache2
online         11:29:36 svc:/network/http:cswapache2

In /opt/csw/apache2/etc/httpd.conf, I have uncommented line 457:
Include etc/extra/httpd-userdir.conf.

I had an existing account called ecomStudent on the machine. I created a directory public_html in the home directory (/home/ecomStudent) and put an index.html file in the public_html directory:

-bash-3.00$ pwd
/home/ecomStudent/public_html
-bash-3.00$ ls -al
total 6
drwxr--r--   2 ecomStudent staff        512 Nov  9 11:41 .
drwxr-x---  15 ecomStudent staff       1024 Nov  9 11:18 ..
-rw-r--r--   1 ecomStudent staff         64 Nov  9 11:41 index.html

However, when I try to access the file:
http://ecom.ismlab.usf.edu/~ecomStudent/

I get a 403 Forbidden error: You don't have permission to access /~ecomStudent/ on this server.

What else do I need to do to get per-user directories?

Thanks
-- 
Manish Agrawal
Asstt. Prof., Dept. of ISDS, Univ. of South Florida
4202 E. Fowler Ave., CIS 1040, Tampa, Fl 33620 - 7800, U.S.A.
(813)-974-6716 (W) 974-6749 (FAX) magrawal at coba.usf.edu
http://coba.usf.edu/departments/isds/faculty/agrawal/index.html



More information about the users mailing list