URL Mapping - ApacheCon 2005
UserDir file permissions
  • Directory must be a+rx in order for files to be accessible

    
        chmod 755 /home/foo
        chmod 755 /home/foo/public_html
    
      

  • Some users may object

  • Put confidential files in other subdirectories with tighter file permissions on them

    
        mkdir /home/foo/sekrit
        chmod 700 /home/foo/sekrit
    
      

  • Or, just put all of your per-user web directories somewhere else

    
        UserDir /www/users/*/htdocs
    
      

Index
Back to UserDir caveats
Forward to Disable for some users

ApacheCon 2005 : URL Mapping - Slide #42 of 45