logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to turn a website as private site?
Author
satimis



Joined: 28 Mar 2015
Posts: 7

PostPosted: Mon 07 Jun '21 23:50    Post subject: How to turn a website as private site? Reply with quote

Hi all,

Can I use Apache built-in mechanism turning a WordPress website as a private site.

What I expect to achieve are as follows:-
1. Only authorized users can login the site with user ID and password to visit the site, including all pages. This notice is displayed on the HOME page.

2. New users can make request with the expected user ID and I'll email them the password if approved. This notice is also displayed on the HOME page with a click for making request.

If possible please advise how to make it on Apache?

Thanks

Regards
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Tue 08 Jun '21 19:42    Post subject: Reply with quote

For that you don't need apache. it can be done in wordpress like https://hostingwiki.org/how-to-make-wordpress-site-private/

If you still have a question please ask again.
Back to top
satimis



Joined: 28 Mar 2015
Posts: 7

PostPosted: Thu 10 Jun '21 6:05    Post subject: Reply with quote

James Blond wrote:
For that you don't need apache. it can be done in wordpress like https://hostingwiki.org/how-to-make-wordpress-site-private/

If you still have a question please ask again.

Hi James,

Thanks for your advice.

I have tried it. It only password-protects the Home page, not the complete website.

The upper header of the Home page still can be seen. Clicking the menu tags on the herder I can still read other pages without login

Regards
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Sat 12 Jun '21 15:56    Post subject: Reply with quote

You still can use auth basic https://httpd.apache.org/docs/2.4/mod/mod_auth_basic.html

However with that only you can add users to it.
Back to top


Reply to topic   Topic: How to turn a website as private site? View previous topic :: View next topic
Post new topic   Forum Index -> Apache