htacces geht nicht

Alles, was den Apache betrifft, kann hier besprochen werden.

htacces geht nicht

Postby casi4711 » 10. March 2005 23:06

Also langsam bin ich am verzweifen, immer wieder Probleme mit htaccess. Ich möchte gerne in Win unter Apache 1.3 ein verzeichnis schützen.

Dazu habe ich folgende files in diesem Verzeichnis

1) .htaccess

AuthUserFile D:/sambar60-1/docs/XML/.htpasswd
AuthName ByPassword
AuthType Basic
<Limit GET>
require valid user
</Limit>

2) .htpasswd
casimero:$1$mFq2BimX$qyfR48CBJvgDF0H71/VnE1

zusätzlich habe ich einen eintrag in AuthConfig in der http.conf auf das virtuelle Verzeichnis XML, welches in einem Sambarverzeichnis steht.

Auszug
-------------------------------

# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
Alias /icons/ "D:/Programme/Apache Group/Apache/icons/"

<Directory "D:/Programme/Apache Group/Apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /home2/ "D:/sambar60-1/docs/"

<Directory "D:/sambar60-1/docs/XML">
Options Indexes MultiViews
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

----------------------------------------
Trotz alledem sagt er immer wieder Passwort falsch, hab schon alles ausprobiert, lkennt einer dass Problem,


vielen Dank iV


Gruss

Casi
casi4711
 
Posts: 3
Joined: 10. March 2005 22:28

Postby deepsurfer » 11. March 2005 08:32

mit was hast das Passwort generiert ??
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

Postby Apache-User » 11. March 2005 09:24

Ich möchte gerne in Win unter Apache 1.3 ein verzeichnis schützen


die antwort lautet Passwörter bitte als klartext speichern da Win keinen MD5 lesen kann und dir somit sagt das das PW falsch ist steht aber eigendlich oft genug im forum in der faq usw.
mfg
D.A.U.™
User avatar
Apache-User
 
Posts: 594
Joined: 30. December 2002 16:50
Location: anonym

Postby Wiedmann » 11. March 2005 10:03

die antwort lautet Passwörter bitte als klartext speichern da Win keinen MD5 lesen kann und dir somit sagt das das PW falsch ist steht aber eigendlich oft genug im forum in der faq usw.

Sorry DAU. Das ist definitiv falsch...

Gerade MD5 kann der Apache/Win benutzen, im Gegensatz zu *nix Crypt das er nicht kann. Nur sollte man die MD5-Passwörter zwingend mit dem Apache-Utility "htpasswd.exe" erstellen und nicht mit PHP o.ä.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

antwort

Postby casi4711 » 11. March 2005 18:46

also erzeugt habe ich das Passwort mit htpasswd (http://www.derwok.de/faq/howto_protected.html). Also dass mit Klartext hab ich auch schon oft gehört aber dass geht auch nicht, mit solchen Standard problemen würd ich mich auch nicht ins Forum trauen ;) Ich habe auch Webgeneratoren benutzt zB : http://www.derwok.de/faq/howto_protected.html aber bringt alles nix. Ok ich versuch dann mal dass von Apache, wenn ich dass finden sollte, aber was ist denn nun daran anders? Ich denke immer noch es ist irgend nen Fehler in der config, sowas mit / ODER \.

Na vielleicht hatja noch einer nen Tip.
casi4711
 
Posts: 3
Joined: 10. March 2005 22:28

Postby deepsurfer » 12. March 2005 09:44

schau mal in der access_log und error_log vom apache nach, möglicherweise steht da schon ein hinweis warum die htaccess nicht richtig angenommen wird.

Ich !!!vermute!!! das er keinen zugang auf "D:/samba...." zur htpasswd hat.

schau mal und melde dich
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

Postby casi4711 » 12. March 2005 12:49

Also Zugang zum htpassw wird er ja haben, wenn ich das file rausnehme kommt nur ne Fehler seite, und mit Rechte setzen unter Win, dat kanns ja nicht sein, soweit ich weiss, hier aber ma mein access.log, hoffe hilft weiter.


Gruss

Casi

---------------------
Auszug
---------------------------------------------
217.82.26.241 - - [12/Mar/2005:12:37:48 +0100] "GET /home2/vkpmx/html/modules.php?name=funvideos HTTP/1.1" 200 11028
217.82.26.241 - - [12/Mar/2005:12:37:49 +0100] "GET /home2/vkpmx/html/modules/Album/image//th_ HTTP/1.1" 404 322
127.0.0.1 - - [12/Mar/2005:12:37:49 +0100] "GET /view.asp?site=2741&ref=215773&b=2 HTTP/1.1" 404 289
127.0.0.1 - - [12/Mar/2005:12:37:49 +0100] "GET /view.asp?site=3065&ref=215773&b=14 HTTP/1.1" 404 289
127.0.0.1 - - [12/Mar/2005:12:39:16 +0100] "GET /view.asp?site=1632&ref=215773&b=5 HTTP/1.1" 404 289
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/modules.php?name=funvideos HTTP/1.1" 200 11027
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/style/style.php HTTP/1.1" 200 8465
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/bgft.jpg HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/logo.jpg HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/backhead.jpg HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/backmain.jpg HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/images/menu/oarrow.gif HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:19 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/pixel.gif HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/images/menu/rarrow.gif HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/blockheadleft.jpg HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/images/menu/sarrow.gif HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/images/menu/barrow.gif HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/blocks/images/bot.gif HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/includes/javascript/overlib.js HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/modules/Album/image//th_ HTTP/1.1" 404 322
217.82.26.241 - - [12/Mar/2005:12:39:20 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/backtable.jpg HTTP/1.1" 304 -
127.0.0.1 - - [12/Mar/2005:12:39:21 +0100] "GET /view.asp?site=2741&ref=215773&b=2 HTTP/1.1" 404 289
217.82.26.241 - - [12/Mar/2005:12:39:21 +0100] "GET /home2/vkpmx/html/themes/vkp-bluestyle/images/backfoot.jpg HTTP/1.1" 304 -
217.82.26.241 - - [12/Mar/2005:12:40:23 +0100] "GET /home2/hp89/ HTTP/1.1" 200 2032
217.82.26.241 - - [12/Mar/2005:12:40:23 +0100] "GET /home2/hp89/links.html HTTP/1.1" 200 14691
217.82.26.241 - - [12/Mar/2005:12:40:23 +0100] "GET /home2/hp89/inhalt.html HTTP/1.1" 200 4506
217.82.26.241 - - [12/Mar/2005:12:40:23 +0100] "GET /home2/hp89/format.css HTTP/1.1" 200 1653
217.82.26.241 - - [12/Mar/2005:12:40:23 +0100] "GET /home2/hp89/unten.html HTTP/1.1" 200 2374
217.82.26.241 - - [12/Mar/2005:12:40:23 +0100] "GET /home2/hp89/images/back.jpg HTTP/1.1" 200 1786
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/nav_back.jpg HTTP/1.1" 200 366
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/space_trans.gif HTTP/1.1" 200 43
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_un_2.gif HTTP/1.1" 200 913
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_ob_2b.gif HTTP/1.1" 200 1310
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_un_2b.gif HTTP/1.1" 200 1383
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_ob_2.gif HTTP/1.1" 200 922
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_un_3.gif HTTP/1.1" 200 582
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_un_3b.gif HTTP/1.1" 200 825
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/nav_ob.jpg HTTP/1.1" 200 933
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_ob_1.jpg HTTP/1.1" 200 359
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/nav_li.jpg HTTP/1.1" 200 874
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_ob_3.jpg HTTP/1.1" 200 983
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/nav_re.jpg HTTP/1.1" 200 933
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_un_1.jpg HTTP/1.1" 200 380
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/Kopie%20(2)%20von%20MOREBMP.GIF HTTP/1.1" 200 854
217.82.26.241 - - [12/Mar/2005:12:40:24 +0100] "GET /home2/hp89/images/men_un_4.jpg HTTP/1.1" 200 924
217.82.26.241 - - [12/Mar/2005:12:40:28 +0100] "GET /home2/vkpmxcheck/index.php?vkpic=2f781625b6fe66bdd3823376e895ffe0&testid=2f781625b6fe66bdd3823376e895ffe0&op=&type=&status= HTTP/1.1" 200 44049
217.82.26.241 - - [12/Mar/2005:12:40:29 +0100] "GET /home2/vkpmxcheck/index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2974
217.82.26.241 - - [12/Mar/2005:12:40:29 +0100] "GET /home2/vkpmxcheck/index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4459
--------------------------------------------------------------------------
error.log
-------------------------------
d:/programme/apache group/apache/htdocs/favoriten$
[Mon Jan 24 19:34:10 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Mon Jan 24 20:23:55 2005] [error] [client 192.168.2.201] File does not exist: d:/programme/apache group/apache/htdocs/outlook
[Mon Jan 24 20:36:22 2005] [warn] module mod_php4.c is already added, skipping
[Mon Jan 24 20:36:50 2005] [error] [client 192.168.2.201] File does not exist: d:/programme/apache group/apache/htdocs/outlook
[Mon Jan 24 20:37:54 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Mon Jan 24 20:37:54 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Mon Jan 24 20:56:31 2005] [error] [client 192.168.2.201] File does not exist: d:/programme/apache group/apache/htdocs/office
[Mon Jan 24 21:25:59 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/office
[Mon Jan 24 22:03:15 2005] [error] [client 192.168.2.201] File does not exist: d:/programme/apache group/apache/htdocs/outlook
[Mon Jan 24 22:54:55 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Mon Jan 24 22:54:55 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Mon Jan 24 23:29:36 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/vorlagen
[Mon Jan 24 23:29:36 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/vorlagen
[Mon Jan 24 23:58:53 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 00:20:00 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/favoriten$
[Tue Jan 25 00:24:41 2005] [error] [client 192.168.2.201] File does not exist: d:/programme/apache group/apache/htdocs/e$
[Tue Jan 25 00:55:59 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 12:13:17 2005] [warn] module mod_php4.c is already added, skipping
[Tue Jan 25 12:13:33 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 13:00:37 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 13:22:32 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 13:58:14 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 14:16:56 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 14:32:20 2005] [warn] module mod_php4.c is already added, skipping
[Tue Jan 25 14:57:38 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 15:15:29 2005] [error] [client 192.168.2.201] File does not exist: d:/programme/apache group/apache/htdocs/webmaster
[Tue Jan 25 15:15:29 2005] [error] [client 192.168.2.201] File does not exist: d:/programme/apache group/apache/htdocs/synchronisation
[Tue Jan 25 15:27:23 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/downloads
[Tue Jan 25 15:47:40 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/synchronisation
[Tue Jan 25 15:47:40 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/outlook
[Tue Jan 25 18:20:47 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:20:48 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/shareddocs
[Tue Jan 25 18:20:57 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:20:58 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:22:13 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:22:13 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:23:53 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:23:54 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:25:46 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:25:47 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:33:46 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
[Tue Jan 25 18:33:46 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/shareddocs
[Tue Jan 25 18:35:11 2005] [error] [client 192.168.2.208] File does not exist: d:/programme/apache group/apache/htdocs/digi-pics
casi4711
 
Posts: 3
Joined: 10. March 2005 22:28


Return to Apache

Who is online

Users browsing this forum: No registered users and 1 guest