.htacces mit passwortabfrage "login incorrect"

Torbenslein

New Member
Wunderschönen Guten Abend Server Support Forum ^^
und natürlich server support member hehe.

Ich habe Folgendes Problem:
Würde gerne mein Webserver per .htacces schützen und zwar mit
passwort abfrage.

habe dazu schon einen schönen generator im internet gefunden aber leider
funktioniert die verschlüßelung der pws nicht bzw. er sagt login incorrect.

Hier die Seite:
fueralles.de/htaccess-Generator.html

meine Frage:
Könnte mir einer erklären wie ich sowas richtig mache?

Folgendes soll passieren:
Beim öffnen der website soll eine loginbox erscheinen mit
Benutzernamen eingabe und mit Passwort eingabe.
die passwörter werden in der
.htpasswd
abgelegt.

Ich hoffe ist verständlich geworden und nicht zu viele fehler drine.

Mit Freundlichen Grüßen
Niels
Rode
 
Hallo!
Wie sieht denn deine .htaccess aus? Was sagt das Apache Error Log? Wo steht die .htpasswd?

mfG
Thorsten
 
Ohh tut mir leid das habe ich ja komplett vergessen.

Hier ich Poste erstmal meine .htacces

Code:
AuthUserFile /var/www/vhosts/**/subdomains/**/httpdocs/passwort/.htpasswd
AuthGroupFile /dev/null
AuthName "****"
AuthType Basic
<Limit GET>
require valid-user
</Limit>
Options +Indexes

Apache error log kommt sobald ich wieder zu hause bin der pfad
der oben zur .htpasswd führt is der vollständige root pfad.

Apache error log habe mal die IP und die .com adresse unkentlich gemacht.
Code:
[Sun Apr 26 23:53:04 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate CommonName (CN) `*****.vserver.de' does NOT match server name!?
[Sun Apr 26 23:53:04 2009] [warn] Init: SSL server IP/port conflict: default-***-75-****-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Sun Apr 26 23:53:04 2009] [warn] Init: SSL server IP/port conflict: ******.com:443 (/var/www/vhosts/******.com/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Sun Apr 26 23:53:04 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sun Apr 26 23:53:04 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate CommonName (CN) `*****.vserver.de' does NOT match server name!?
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Apr 26 23:53:04 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Sun Apr 26 23:53:04 2009] [warn] Init: SSL server IP/port conflict: default-****-75-****-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Sun Apr 26 23:53:04 2009] [warn] Init: SSL server IP/port conflict: *******.com:443 (/var/www/vhosts/*******.com/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Sun Apr 26 23:53:04 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sun Apr 26 23:53:04 2009] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Mon Apr 27 09:55:07 2009] [error] [client 77.22.70.37] File does not exist: /usr/share/psa-horde/imp/themes/wps_sober/graphics/addressbook_browse.png, referer: http://webmail.******.com/imp/compose.php?thismailbox=INBOX&uniq=1240826105406
[Mon Apr 27 09:55:24 2009] [error] [client 77.22.70.37] File does not exist: /usr/share/psa-horde/imp/themes/wps_sober/graphics/addressbook_browse.png, referer: http://webmail.*******.com/imp/compose.php?thismailbox=INBOX&uniq=1240826122636
[Mon Apr 27 13:45:07 2009] [notice] Graceful restart requested, doing restart
[Mon Apr 27 13:45:08 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 13:45:08 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 13:45:08 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 13:45:08 2009] [warn] RSA server certificate CommonName (CN) `*******.vserver.de' does NOT match server name!?
[Mon Apr 27 13:45:08 2009] [warn] Init: SSL server IP/port conflict: default-****-75-****-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 13:45:08 2009] [warn] Init: SSL server IP/port conflict: *******.com:443 (/var/www/vhosts/*******.com/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 13:45:08 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 27 13:45:08 2009] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Mon Apr 27 14:11:30 2009] [notice] Graceful restart requested, doing restart
[Mon Apr 27 14:11:32 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 14:11:32 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 14:11:32 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 14:11:32 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 14:11:32 2009] [warn] Init: SSL server IP/port conflict: default-****-75-***-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 14:11:32 2009] [warn] Init: SSL server IP/port conflict: *******.com:443 (/var/www/vhosts/******.com/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 14:11:32 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 27 14:11:32 2009] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Mon Apr 27 16:30:14 2009] [notice] Graceful restart requested, doing restart
[Mon Apr 27 16:30:16 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 16:30:16 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 16:30:16 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 16:30:16 2009] [warn] RSA server certificate CommonName (CN) `*******.vserver.de' does NOT match server name!?
[Mon Apr 27 16:30:16 2009] [warn] Init: SSL server IP/port conflict: default-****-75-***-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 16:30:16 2009] [warn] Init: SSL server IP/port conflict: *****:443 (/var/www/vhosts/***/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 16:30:16 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 27 16:30:16 2009] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Mon Apr 27 16:32:05 2009] [notice] Graceful restart requested, doing restart
[Mon Apr 27 16:32:07 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 16:32:07 2009] [warn] RSA server certificate CommonName (CN) `*******.vserver.de' does NOT match server name!?
[Mon Apr 27 16:32:07 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 16:32:07 2009] [warn] RSA server certificate CommonName (CN) `*****.vserver.de' does NOT match server name!?
[Mon Apr 27 16:32:07 2009] [warn] Init: SSL server IP/port conflict: default-****-75-****-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 16:32:07 2009] [warn] Init: SSL server IP/port conflict: ****:443 (/var/www/vhosts/****/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 16:32:07 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 27 16:32:07 2009] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Mon Apr 27 17:22:12 2009] [notice] caught SIGTERM, shutting down
[Mon Apr 27 17:22:15 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 17:22:15 2009] [warn] Init: SSL server IP/port conflict: default-****-75-****-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 17:22:15 2009] [warn] Init: SSL server IP/port conflict: ******:443 (/var/www/vhosts/*****/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 17:22:15 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 27 17:22:15 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 27 17:22:15 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Mon Apr 27 17:22:15 2009] [warn] Init: SSL server IP/port conflict: default-****-75-****-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 17:22:15 2009] [warn] Init: SSL server IP/port conflict: *****:443 (/var/www/vhosts/****/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Mon Apr 27 17:22:15 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Mon Apr 27 17:22:15 2009] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Mon Apr 27 19:44:45 2009] [error] [client 77.22.70.37] File does not exist: /usr/share/psa-horde/imp/themes/wps_sober/graphics/addressbook_browse.png, referer: http://****/imp/compose.php?thismailbox=INBOX&uniq=1240861482044
[Tue Apr 28 20:11:50 2009] [notice] Graceful restart requested, doing restart
[Tue Apr 28 20:11:51 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Apr 28 20:11:51 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Tue Apr 28 20:11:51 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Apr 28 20:11:51 2009] [warn] RSA server certificate CommonName (CN) `******.vserver.de' does NOT match server name!?
[Tue Apr 28 20:11:51 2009] [warn] Init: SSL server IP/port conflict: default-****-75-****-36:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:80) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Tue Apr 28 20:11:51 2009] [warn] Init: SSL server IP/port conflict: ***:443 (/var/www/vhosts/****/conf/httpd.include:12) vs. horde.webmail:443 (/etc/apache2/conf.d/zzz_horde_vhost.conf:41)
[Tue Apr 28 20:11:51 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Tue Apr 28 20:11:51 2009] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
MFG
Niels Rode
 
Last edited by a moderator:
Doppelpost
ist verboten ich weiß aber wollte nur darauf hinweißen das ich das problem
gelöst habe.

Folgender fehler:

die url war:
ftp.***.***.***.***.***.***.***-***.com
^-- da ich hier ftp geschrieben habe hat er sich versucht per ftp
einzuloggen ist ein ziemlich dummer fehler den eigentlich nur anfänger machen.
Allso Leute wen ihr das auch so habt macht nich so ein fehler wie ich.

Ansonsten hat alles mit htaccess gefunzt.

Mit Freundlcihen Grüßen
Niels
 
Back
Top