techstaff:personal_homepage
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| techstaff:personal_homepage [2016/03/29 09:41] – [Password protecting a directory] kauffman | techstaff:personal_homepage [2021/09/22 16:16] (current) – ctopper | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| You can access your home page by using the following URL: https:// | You can access your home page by using the following URL: https:// | ||
| Please replace ' | Please replace ' | ||
| + | |||
| + | ==== 5. An additional note ==== | ||
| + | PHP is supported on personal home pages. | ||
| ====== Password protecting a directory ====== | ====== Password protecting a directory ====== | ||
| - | + | Please be aware that this not provide any real security and only keeps honest people honest. | |
| - | Password protecting your web pages | + | |
| - | Note: People viewing your page with a web browser will be required to provide a password. However, since files in your ~/html directory must be world readable to be seen by the server, anyone | + | |
| Create new password file (with a user): | Create new password file (with a user): | ||
| < | < | ||
| - | - (note: the password file should not be in your html directory, but it must be world readable) | + | - The password file should not be in your html directory, but it must be world readable. |
| - | - To add more users (no '' | + | - To add more users remove |
| < | < | ||
| Put a file .htaccess in each html directory to be restricted. Start with this template: | Put a file .htaccess in each html directory to be restricted. Start with this template: | ||
| Line 61: | Line 62: | ||
| AuthType Basic | AuthType Basic | ||
| require valid-user | require valid-user | ||
| - | chmod 644 .htaccess | ||
| </ | </ | ||
| + | Now set the permissions on the .htaccess and .http_passwd file. | ||
| + | < | ||
| + | chmod 644 .htaccess .http_passwd | ||
| + | </ | ||
| + | |||
/var/lib/dokuwiki/data/attic/techstaff/personal_homepage.1459262516.txt.gz · Last modified: 2016/03/29 09:41 by kauffman