httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsomsak...@mor-or.pn.psu.ac.th
Subject Re: [users@httpd] "public_html" for each user don"t work.
Date Sun, 02 Jul 2006 12:36:27 GMT
  I create "testing" user for tesing "public_html".
   Now "testing" user that home directory under "/export3/home3/office3" is 
working well. More detail below.

# grep testing /etc/passwd
testing:x:30000:100::/export3/home3/office3/testing:/bin/bash

 And httpd.conf below.
<Directory /export3/home3/office3/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Order allow,deny
    Allow from all
</Directory>

   But if I used "usermod" command to change home directory under
"/export3/home3/office3" to under "/office3", it don"t work. 
Note that "office3" is link file.
    More detail below.

# usermod -d /office3/testing -m testing

# grep testing /etc/passwd
testing:x:30000:100::/office3/testing:/bin/bash

# ls -ld /office3
lrwxrwxrwx  1 root root 22 Jul  2 18:48 /office3 -> /export3/home3/office3

 And config httpd.conf again below.
<Directory /office3/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Order allow,deny
    Allow from all
</Directory>

   But can"t access "public_html".
   Is Apache 2.x support link file ? (/office3)
I must used link file for use short path.
   Please help me.

         Best Regards,
             Somsak.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message