Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:apache_httpd [2014-11-22 20:59] becki |
becki:linux:apache_httpd [2018-05-16 14:20] (aktuell) becki [Protect a Directory with Digest Authentication] |
||
---|---|---|---|
Zeile 75: | Zeile 75: | ||
Note that the manual discourages to put ''.htpasswd'' into the same directory which is to be protected, however it seems common usage. Check at least ''.htpasswd'' and ''.htaccess'' will not be displayed in your webbrowser! | Note that the manual discourages to put ''.htpasswd'' into the same directory which is to be protected, however it seems common usage. Check at least ''.htpasswd'' and ''.htaccess'' will not be displayed in your webbrowser! | ||
- | More useres can be added to ''.htpasswd'' with: | + | More useres can be added to ''.htpasswd'' (or existing users modified) with: |
htdigest .htpasswd 'Digest Authentication Test' newusername | htdigest .htpasswd 'Digest Authentication Test' newusername | ||
Zeile 94: | Zeile 94: | ||
Note that the [[http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride|AllowOverride Directive]] must allow this. More: [[http://httpd.apache.org/docs/2.2/howto/htaccess.html|htaccess]], [[http://httpd.apache.org/docs/2.2/mod/core.html#options|Options]] | Note that the [[http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride|AllowOverride Directive]] must allow this. More: [[http://httpd.apache.org/docs/2.2/howto/htaccess.html|htaccess]], [[http://httpd.apache.org/docs/2.2/mod/core.html#options|Options]] | ||
+ | |||
+ | Fancy directory listings: | ||
+ | |||
+ | Include /etc/httpd/extra/httpd-autoindex.conf | ||
===== Security Settings == | ===== Security Settings == | ||
Zeile 118: | Zeile 122: | ||
[[http://httpd.apache.org/docs/2.2/vhosts/|Vhost documentation start]] | [[http://httpd.apache.org/docs/2.2/vhosts/|Vhost documentation start]] | ||
+ | |||
+ | See also [[becki/my/linux/caldav]] | ||
FIXME Name-based virtual hosting cannot be used with SSL secure servers. More: http://httpd.apache.org/docs/2.2/vhosts/name-based.html | FIXME Name-based virtual hosting cannot be used with SSL secure servers. More: http://httpd.apache.org/docs/2.2/vhosts/name-based.html |