PageContent
Personal web page
The personal web page has URL: https://www.bo.infn.it/~account-afs
The path of the dedicated space in AFS is as follows:
/afs/infn.it/bo/project/user/account-afs/public/www
The HomePage is immediately available if the home page is one of the following files: index.htm, index.html, index.php.
The default quota for personal pages is 30 MB.
Reserved access
Access can be regulated by setting a web password.
The example shown creates a “restricted” directory whose access is controlled through the .htaccess and .htpasswd files.
The AFS unix client steps are as follows:
- klog account-afs (AFS authentication)
- cd /afs/infn.it/bo/user/account-afs/public/
- mkdir access (create directory containing password file)
- fs setacl access boadmin: www-nodes read
- fs setacl access system: anyuser none
- Connect to the following link for password generation: .htpasswd
- Save the string obtained in:
/afs/infn.it/bo/user/account-afs/public/access/.htpasswd - cd /afs/infn.it/bo/user/account-afs/public/www
- mkdir restricted (create directory containing restricted access files)
- fs setacl restricted / boadmin: www-nodes read
- fs setacl restricted / system: anyuser none
- Download the file of the following link and copy it with the name:
/afs/infn.it/bo/user/account-afs/public/www/restricted/.htaccess - In .htaccess replace the generic string “account” with your account-afs.
The page: https://www.bo.infn.it/~account-afs/restricted/ will require
username and password for viewing.