crusy.net

♪ Commit ins Abenteuerland ♫

Menü:

  • home
  • About
  • feed
Retweet on Twittercrusy retweeted:
poorly drawn lines@PDLComics·
26 Feb

get serious

Tag Archives for Config

.htaccess Basic Auth auf uberspace

Jedes mal doktor ich rum, bis ich irgendwann darüber stolpere, dass .htpasswd im Web-Root liegen muss (nicht in einem Domain-Root!), und weder relativ, noch über home/ verlinkt sein darf:

1
2
3
4
AuthType Basic
AuthName "Speak friend and enter"
AuthUserFile /var/www/virtual/<user name>/path/to/.htpasswd
Require user foobar

15. January 2021 by crusy Categories: Tech, Web | Tags: .htaccess, Config, Server, uberspace | Leave a comment

Post navigation

Proudly powered by WordPress | Theme: Ari by Elmastudio.