Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Apache2
(view source)
Revision as of 21:20, 25 December 2017
123 bytes added
,
21:20, 25 December 2017
→Authentication
Line 35:
Line 35:
Protect with the directory directive:
Protect with the directory directive:
<nowiki><Directory "/usr/local/apache/htdocs/secret">
<nowiki><Directory "/usr/local/apache/htdocs/secret">
−
AuthType Basic
+
AuthType Basic
−
AuthName "Restricted Files"
+
AuthName "Restricted Files"
−
# (Following line optional)
+
# (Following line optional)
−
AuthBasicProvider file
+
AuthBasicProvider file
−
AuthUserFile "/usr/local/apache/passwd/passwords"
+
AuthUserFile "/usr/local/apache/passwd/passwords"
−
Require user rbowen
+
#
Require user rbowen
+
Require valid-user
</Directory></nowiki>
</Directory></nowiki>
+
See more options at: https://httpd.apache.org/docs/2.4/es/howto/auth.html
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version