You are currently browsing the archives for the 1&1 category.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jul | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
1. June 2010 by admin.
Having spent several hours on this, I think its appropriate that the first blog post should be about 1&1 .htaccess setup. The .htaccess,password file and group file configuration is standard as described here, however the catch is that the home directory is in fact the “htdocs” directory under the “Document Root” specified in the 1&1 control panel under Domain data.
If the Document root specified under the Domain data is /homepages/XX/XXXXX and the password/group files are in a directory called private in your root directory, then .htaccess needs to use the paths as specified below.
AuthUserFile /homepages/XX/XXXXX/htdocs/private/password.file
AuthGroupFile /homepages/XX/XXXXX/htdocs/private/groups.file
Also its a good idea to create a .htaccess file as below and place it in the private directory above
Order Deny,Allow
Deny from all
Posted in 1&1 | No Comments »