You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Florian Bernlochner <be...@stud.phys.ethz.ch> on 2002/11/10 02:22:30 UTC
.htaccess bockt
hi,
vorab:
AllowOverride AuthConfig ist eingetragen, und .htaccess funktioniert
eigentlich auch (der pw-dialog erscheint) natuerlich ist mod_auth
geladen - einzig mit dem Authentifizieren will es nicht so klappen
mein .htaccess sieht wie folgt aus:
AuthType Basic
AuthName "Test Section"
AuthUserFile /storage/wwwroot/test/.htpasswd
Require valid-user
und mein .htpasswd hab ich mit htpasswd -c .htpasswd ismir erzeugt ...
ismir:6uibnbMcjml9Q
wenn ich mich jetzt versuche zu authentifizieren - was nicht geht,
erscheint im error-log immer nur folgendes:
[Sun Nov 10 02:04:34 2002] [error] user ismir not found: /test/
und bevor jemand fragt:
cantor:/storage/wwwroot/test# ls -lh .ht*
-rw-r--r-- 1 root root 83 Nov 10 02:00 .htaccess
-rw-r--r-- 1 root root 20 Nov 10 02:15 .htpasswd
httpd.conf:
zuerst mal global alles dichtmachen:
<Directory />
Options SymLinksIfOwnerMatch
AllowOverride None
</Directory>
dann fuer /storage/wwwroot:
<Directory /storage/wwwroot/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride AuthConfig
Order allow,deny
Allow from all
Deny from xxx.xxx.xxx.xxx
</Directory>
kann sich jemand daraus einen Reim machen?
gruss und Danke
Florian
Re: .htaccess bockt
Posted by Timon Roth <ti...@bluewin.ch>.
Timon Roth
Pflanzschulstrasse 81
8004 Zürich
tel.: 01 242 88 12
mobile: 079 636 57 28
email: timon.roth@bluewin.ch
url: http://www.timon.simplebrainhotel.com
----- Original Message -----
From: "Florian Bernlochner" <be...@stud.phys.ethz.ch>
To: <us...@httpd.apache.org>
Sent: Sunday, November 10, 2002 2:22 AM
Subject: .htaccess bockt
> hi,
>
> vorab:
>
> AllowOverride AuthConfig ist eingetragen, und .htaccess funktioniert
> eigentlich auch (der pw-dialog erscheint) natuerlich ist mod_auth
> geladen - einzig mit dem Authentifizieren will es nicht so klappen
>
> mein .htaccess sieht wie folgt aus:
>
> AuthType Basic
> AuthName "Test Section"
> AuthUserFile /storage/wwwroot/test/.htpasswd
> Require valid-user
>
> und mein .htpasswd hab ich mit htpasswd -c .htpasswd ismir erzeugt ...
>
> ismir:6uibnbMcjml9Q
>
> wenn ich mich jetzt versuche zu authentifizieren - was nicht geht,
> erscheint im error-log immer nur folgendes:
>
> [Sun Nov 10 02:04:34 2002] [error] user ismir not found: /test/
>
> und bevor jemand fragt:
>
> cantor:/storage/wwwroot/test# ls -lh .ht*
> -rw-r--r-- 1 root root 83 Nov 10 02:00 .htaccess
> -rw-r--r-- 1 root root 20 Nov 10 02:15 .htpasswd
>
> httpd.conf:
>
> zuerst mal global alles dichtmachen:
>
> <Directory />
> Options SymLinksIfOwnerMatch
> AllowOverride None
> </Directory>
>
> dann fuer /storage/wwwroot:
>
> <Directory /storage/wwwroot/>
> Options Indexes Includes FollowSymLinks MultiViews
> AllowOverride AuthConfig
> Order allow,deny
> Allow from all
> Deny from xxx.xxx.xxx.xxx
> </Directory>
>
> kann sich jemand daraus einen Reim machen?
>
> gruss und Danke
>
> Florian
>
>
> --------------------------------------------------------------------------
> Apache HTTP Server Mailing List "users-de"
> unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
> sonstige Anfragen an users-de-help@httpd.apache.org
> --------------------------------------------------------------------------
>