Changes
Jump to navigation
Jump to search
← Older edit
Apache2
(view source)
Revision as of 09:53, 24 February 2020
25 bytes added
,
09:53, 24 February 2020
m
no edit summary
Line 5:
Line 5:
sudo apache2ctl -t -D DUMP_VHOSTS
sudo apache2ctl -t -D DUMP_VHOSTS
sudo apache2ctl configtest
sudo apache2ctl configtest
+
sudo a2enmod ssl
</syntaxhighlight>
</syntaxhighlight>
Line 79:
Line 80:
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
+
Require valid-user
−
</Directory></nowiki>
+
</Directory></nowiki>
==Reverse Proxy==
==Reverse Proxy==
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