Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Folder protection with .htaccess/.htpasswd |
|
Author |
|
Thobie
Joined: 22 Jun 2019 Posts: 2 Location: Hamburg, Germany
|
Posted: Sun 23 Jun '19 0:37 Post subject: Folder protection with .htaccess/.htpasswd |
|
|
Hello,
I have four own WordPress blogs and one customer's hosted by two providers.
All have additional directory protection for the backend with .htaccess and .htpasswd.
Everything is working well. Backend secured twice, frontend freely accessible.
I am currently configuring a blog for another customer with a third provider. It does not work there. Backend double secured, but the frontend as well. The provider says that's no different.
How can I fix the problem so that the backend is double protected and the frontend freely accessible?
I wish you a nice evening.
Greetings from Hamburg
Thobie |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 24 Jun '19 13:36 Post subject: |
|
|
Moin Thobie,
ask your new provider, if AllowOverride is set to all. Otherwise the Auth from the .htaccess doesn't work. |
|
Back to top |
|
Thobie
Joined: 22 Jun 2019 Posts: 2 Location: Hamburg, Germany
|
Posted: Mon 24 Jun '19 19:36 Post subject: |
|
|
That means if AllowOverride isn’t set to the index.php (the frontend) the .htaccess doesn’t work by calling the frontend/the website in a browser?
I wish you a nice evenung.
Greetings from Hamburg
Thobie |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 25 Jun '19 3:31 Post subject: |
|
|
Mario, why would AllowOverride need to be set to all? AuthConfig is for access & authorization as documented. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 25 Jun '19 8:48 Post subject: |
|
|
glsmith wrote: | Mario, why would AllowOverride need to be set to all? |
If you can't edit the apache config files, you need that to be able to make rewrite rules in the .htaccess file. |
|
Back to top |
|
|
|
|
|
|