| Author |
Message |
jellef
knows MySQLDumper

Joined: 08 Jan 2012
Posts: 3

|
Posted:
2012-01-08, 16:01 Directory protection fails with .htaccess in home directory |
  |
I have a .htaccess file configured for my main site. I installed mySqlDumper 1.24.4 in a subdirectory. When I enable directory protection, a .htaccess and a .htpasswd file are created. Immediately I get an error 404 (not found). I found out that if I remove the .htaccess file in the main directory, I can login mySqlDumper. But i need the main .htaccess file.
I cannot find a solution in this forum or elsewhere on the web. I did not succed in modifiying the main .htaccess. Please help.
|
|
  |
 |
Anzeigen
|
Posted:
Anzeigen |
 |
|
| |
 |
DSB
Developer


Age: 41
Joined: 30 Apr 2004
Posts: 16067
Location: Reichenberg bei Würzburg

|
Posted:
2012-01-08, 16:08 (No subject) |
  |
Place MySQLDumper outside your main htdocs-folder, createa subdomain and let it point to the MySQLDumper directory.
This way both .htaccess files won't interfere.
_________________ Gruß / Greetings, DSB
Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
|
|
    |
 |
jellef
knows MySQLDumper

Joined: 08 Jan 2012
Posts: 3

|
Posted:
2012-01-09, 11:17 (No subject) |
  |
DSB, thanks for your suggestion. I have created a subdomain and can call MySqlDumper. If I create directory protection I get the login window, but login fails. I tried MD5 and SHA1 (Linux system, Crypt fails probably because I use more than 8 characters).
I have to be careful, because yesterday I was blocked by my provider because I had more than 5 unsuccessful attempts. Do you have any more suggestions?
|
|
  |
 |
Jens_K
Moderator

Age: 37
Joined: 04 Sep 2007
Posts: 1709
Location: Nähe Bielefeld

|
Posted:
2012-01-09, 13:05 (No subject) |
  |
|
   |
 |
jellef
knows MySQLDumper

Joined: 08 Jan 2012
Posts: 3

|
Posted:
2012-01-09, 14:10 (No subject) |
  |
Right! Via the cPanel I could protect the directory and this works OK. Thanks for the help.
|
|
  |
 |
|
|