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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to