User Tools

Site Tools


wiki:password_protect_site_htaccess

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:password_protect_site_htaccess [2021/02/18 13:29] – add Example protecting the URL antisawiki:password_protect_site_htaccess [2021/07/09 10:14] – add see also link antisa
Line 1: Line 1:
 {{tag>webserver apache}} {{tag>webserver apache}}
  
-====== Password protect site with htaccess ======+====== Password protect site with htaccess in Apache ======
 ===== Create the Password File ===== ===== Create the Password File =====
  
  
  
-    apt-get install apache2 apache2-utils+    apt-get install apache2-utils
     htpasswd -c /etc/apache2/.htpasswd <username>     htpasswd -c /etc/apache2/.htpasswd <username>
  
Line 45: Line 45:
  
  
- +====== See also ====== 
 +  * [[wiki:password_protect_nginx_site|Password protect nginx site]]
  
 ====== References ====== ====== References ======
wiki/password_protect_site_htaccess.txt · Last modified: 2022/04/17 12:47 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki