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: Apache 2.4 and Windows 8.1
Author
cmanapache



Joined: 13 Dec 2017
Posts: 1
Location: greece

PostPosted: Wed 13 Dec '17 16:30    Post subject: Apache 2.4 and Windows 8.1 Reply with quote

How apache authentication in windows
how to .htpasswd and config
Back to top
James Blond
Moderator


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

PostPosted: Mon 18 Dec '17 23:05    Post subject: Reply with quote

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


Reply to topic   Topic: Apache 2.4 and Windows 8.1 View previous topic :: View next topic
Post new topic   Forum Index -> Apache