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: Apache 2.4 and Windows 8.1 |
|
Author |
|
cmanapache
Joined: 13 Dec 2017 Posts: 1 Location: greece
|
Posted: Wed 13 Dec '17 16:30 Post subject: Apache 2.4 and Windows 8.1 |
|
|
How apache authentication in windows
how to .htpasswd and config |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 18 Dec '17 23:05 Post subject: |
|
|
Create a file like here https://httpd.apache.org/docs/current/mod/mod_authn_file.html
use mod_auth_basic like
Code: |
<Directory /var/www_james/mygitlist>
AuthType Basic
AuthUserFile /var/www_james/mygitlist/.htpasswd
AuthName "secret area"
Require user james
</Directory>
|
|
|
Back to top |
|
|
|
|
|
|