logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Folder protection with .htaccess/.htpasswd

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
Thobie



Joined: 22 Jun 2019
Posts: 2
Location: Hamburg, Germany

PostPosted: Sun 23 Jun '19 0:37    Post subject: Folder protection with .htaccess/.htpasswd Reply with quote

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: 6638
Location: Germany, Next to Hamburg

PostPosted: Mon 24 Jun '19 13:36    Post subject: Reply with quote

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

PostPosted: Mon 24 Jun '19 19:36    Post subject: Reply with quote

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: 2203
Location: Sun Diego, USA

PostPosted: Tue 25 Jun '19 3:31    Post subject: Reply with quote

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: 6638
Location: Germany, Next to Hamburg

PostPosted: Tue 25 Jun '19 8:48    Post subject: Reply with quote

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


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1