PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : htpasswd



kratz00
26.06.02, 15:44
apache 2.0.39
./htpasswd -c /usr/local/apache2/conf/passwd kratz00
dann kommt folgende fehlermeldung:
./htpasswd: -c and -n options conflict

wieso bitte das ?

Jorge
26.06.02, 15:50
Evtl. ein alias auf htaccess gesetzt?

kratz00
26.06.02, 15:53
nein

kratz00
26.06.02, 16:19
nur gut das es google gibt
http://www.apache.org/dist/httpd/patches/apply_to_2.0.39/

Critical issues for Apache 2.0.39
Platform independent:
htpasswd incorrectly reports -c and -n were used together when only
one of them was used.
Apply the htpasswd.c.patch here to support/htpasswd.c and recompile.
This will be fixed for 2.0.40.

kratz00
26.06.02, 16:39
so funzt jetzt soweit aber ein problem hab ich noch
./htpasswd -c passfile user1
./htpasswd passfile user2

dann überschreibt user2 den eintrag von user1
war früher doch auch nicht soweit ich mich erinner

LKH
26.06.02, 18:47
Hi,

das "-c" steht für create, also erstellen. Eine vorhande Datei wird dann überschrieben. Einfach weglassen.

kratz00
26.06.02, 19:52
lol is mir klar
-c war ja auch nur beim ersten aufruf ! siehe syntax von mir

LKH
26.06.02, 20:40
Sorry,

wer lesen kann ist klar im Vorteil ;)