shell [11] du -kLc www
2 www/docs
2 www/private/passw
14 www/private
6 www/gifs
25 www
25 total
shell [11]
shell [11] du -kLc ftp
295 ftp
295 total
shell [11]
shell [12] ls -l total 53 -rwxr--r--- 1 username username 105 Feb 25 1996 .bashrc -rw-r--r-- 1 username username 15 Feb 25 1996 .profile lrwxrwxrwx 1 username username 27 Aug 19 23:53 ftp -> /home/ftp/pub/users/u/username/ lrwxrwxrwx 1 username username 35 Feb 25 1996 www -> /home/users/www/u/username/public_html/ shell [13]
shell [12] ls -l total 53 -rwxr--r--- 1 username username 105 Feb 25 1996 .bashrc -rw-r--r-- 1 username username 15 Feb 25 1996 .profile lrwxrwxrwx 1 username username 27 Aug 19 23:53 ftp -> /home/ftp/pub/users/u/username/ lrwxrwxrwx 1 username username 35 Feb 25 1996 www -> /home/users/www/u/username/public_html/ shell [13]
If you want to make a new home page you will need to replace this html file with a new html file named exactly index.html or index.htm. After uploading your new home page go ahead a launch your web browser and go to your URL which would be http://www.accesscom.com/~username/. If the page doesn't come up the first time try pressing the Reload button.
Note: We no longer support Micrsoft FrontPage. You will not be able to take advantage of its server scripts.
private to username pumpkin and password pie. Here's what to do:
.htaccess in directory private, issue the following commands at the UNIX command prompt.
shell [13] vi .htaccess
AuthUserFile /home/users/u/username/public_html/private/.htpasswd
AuthName "ByPassword"
AuthType Basic
require valid-user
.htpasswd
htpasswd program. Do this:
shell [13] htpasswd .htpasswd pumpkin
pie.
shell [13] vi .htpasswd
pumpkin:y1ia3tjWkhCK2
private -- your browser should demand a username and password, and not give you access to the file if you don't enter pumpkin and pie. If you are using a browser that doesn't handle authentication, you will not be able to access the document at all.
| Permission type: | Owner | Group | Everyone |
|---|---|---|---|
| Readable | 4 | 4 | 4 |
| Writeable | 2 | 2 | 2 |
| Executable | 1 | 1 | 1 |
| Total | 7 | 7 | 7 |