Re: [users@httpd] "public_html" for each user don"t work.

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

 



  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux