Re: HTACCESS
On 29.04.06 16:54:31, Markus Braun wrote:
> versuche gerade ein Verzeichnis zu schützen über die Funktion HTACCESS:
> Allerdings mag das aus zwei gründen noch nicht:
> 1) Ich möchte ein Password erstellen mit htpasswd2 wie folgt:
>
> htpasswd2 -c /var/password/passwd admin
>
> Allerdings sagt er dann:
>
> htpasswd2: cannot create file /var/password/passwd
Wenn du das nichtmal hinbekommst solltest du keinen Apache aufsetzen.
Hint: Kannst du die Datei mit touch o.ae. erzeugen?
> 2)Die .htaccess Datei wird nicht geladen bzw. im Browser kommt dann die
> Passwortabfrage nicht.
>
> Alllerdings hab ich in der apache conf folgenden Eintrag:
>
>
> DocumentRoot /var/www/
> <Directory />
> Options FollowSymLinks Multiviews
> AllowOverride All
> Order deny,allow
> Deny from all
> </Directory>
>
> AllowOverride All.
Ist ja toll und wo genau liegt die .htaccess? Und wie sieht sie aus?
Hast du schonmal in die Apache-Doku geschaut, im Paket apache2-doc.
Andreas
--
You will attract cultured and artistic people to your home.
Reply to:
- Follow-Ups:
- Re: HTACCESS
- From: "Markus Braun" <charmed21muc@hotmail.com>
- References:
- HTACCESS
- From: "Markus Braun" <charmed21muc@hotmail.com>