webdav und windows

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

webdav und windows

Postby caradon » 24. February 2006 21:39

Hallo,

ich habe in meiner httpd.conf die module mod_dav.so + mod_dav_fs.so auskommentiert. Und folgende webdav.conf angelegt:

### Section WEBDAV

# Use name-based virtual hosting.

Listen 85
NameVirtualHost *:85


<VirtualHost *:85>
# ServerAdmin webmaster@dummy-host.example.com
DocumentRoot C:/xampp/webdav/
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
AccessFileName .htaccess
DAVLockDB C:/xampp/webdav/tmp/LockDB
#<Location />
#DAV On
#AuthType basic
#AuthName "WAMPP mit WebDAV"
#AuthUserfile C:/xampp/webdav/.htpasswd
#<LimitExcept GET HEAD OPTIONS>
#require user wampp
#</LimitExcept>
#</Location>

<Directory C:/xampp/webdav/>
DAV On
Options ALL
AllowOverride All
AddHandler cgi-script .cgi .exe
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Die .htpasswd Datei mit User: wampp Password: xampp existiert. Trotzdem funktioniert mein Zugriff über Netzlaufwerk verbinden mit http://127.0.0.1:85 nicht. User und Passwort werden nicht abgefragt. Bei der Eingabe als URL im IE 6.0 meldet der IE:

Serverfehler!
Die Anfrage kann nicht beantwortet werden, da im Server ein interner Fehler aufgetreten ist. Der Server ist entweder überlastet oder ein Fehler in einem CGI-Skript ist aufgetreten.

Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.

Error 500
127.0.0.1
24.02.2006 21:37:12
Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 DAV/2 PHP/4.3.3

Kann mir jemand weiterhelfen?

Danke und Gruss

Renato :lol:
caradon
 
Posts: 6
Joined: 11. October 2003 19:32

Postby Wiedmann » 24. February 2006 21:49

error.log?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Antwort auf error.log

Postby caradon » 24. February 2006 23:55

[Fri Feb 24 21:37:12 2006] [alert] [client 127.0.0.1] C:/xampp/webdav/.htaccess: Invalid command 'C:/xampprequire', perhaps mis-spelled or defined by a module not included in the server configuration
[Fri Feb 24 21:37:13 2006] [alert] [client 127.0.0.1] C:/xampp/webdav/.htaccess: Invalid command 'C:/xampprequire', perhaps mis-spelled or defined by a module not included in the server configuration
[Fri Feb 24 21:37:13 2006] [alert] [client 127.0.0.1] C:/xampp/webdav/.htaccess: Invalid command 'C:/xampprequire', perhaps mis-spelled or defined by a module not included in the server configuration

--> Was soll das ...? :(

Gruss Renato
caradon
 
Posts: 6
Joined: 11. October 2003 19:32

Postby Wiedmann » 25. February 2006 00:40

--> Was soll das ...?

Ist doch ganz einfach...

[Fri Feb 24 21:37:12 2006] [alert] [client 127.0.0.1] C:/xampp/webdav/.htaccess: Invalid command 'C:/xampprequire', perhaps mis-spelled or defined by a module not included in the server configuration

In der Datei "C:\xampp\webdav\.htaccess" ist ein Fehler drin.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Fehlermeldung -> .htaccess Wo steckt der Fehler?

Postby caradon » 25. February 2006 10:12

:arrow:

Code: Select all
AuthType Basic
AuthName "XAMPP with WEBDAV for DREAMWEAVER"
C:/xampprequire valid-user
AuthUserfile C:/xampp/webdav/.htpasswd


Gruss Renato :?:
caradon
 
Posts: 6
Joined: 11. October 2003 19:32

Postby Wiedmann » 25. February 2006 10:32

Das sagt er ja eigentlich auch schon in der Fehlermeldung. Was soll das für eine Zeile sein?
C:/xampprequire valid-user


Jedenfalls dürfte das der Anfang zuviel sein:
Code: Select all
Require valid-user
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby caradon » 25. February 2006 12:01

OK diese Zeile ist zuviel drin. Jetzt läuft es optimal. Danke für die professionelle und schnelle Hilfe.

:P :P :P :P :P :P
:!: :!: :!: :!: :!: :!:
:wink: :wink: :wink: :wink: :wink: :wink:


Gruss

Renato
caradon
 
Posts: 6
Joined: 11. October 2003 19:32

Postby caradon » 25. February 2006 12:04

Die Zeile war nicht zuviel... Sondern richtig lautet diese

require valid-user

Gruss Renato
caradon
 
Posts: 6
Joined: 11. October 2003 19:32

Läuft alles i.O. mit http://127.0.0.1:85

Postby caradon » 04. March 2006 11:01

Es läuft alles einwandfrei mit http://127.0.0.1:85. In moddav.conf ist der Listen port auf 85 und auf der Firewall ein portforwarding auf Port 85 auf die interne IP-Adresse 192.168.1.100 eingerichtet. Sobald ich aber unter IE 6.0 http://192.168.1.100:85 auf diesen PC eingeben erscheint meine lokale Website von Port 80. Oder wenn ich "meinedomände":85 eingebe erscheint auch die lokale Website.
Mit dem Windows Explorer kann ich auch nur eine Verbindung unter http://127.0.0.1:85 eingeben. http://192.168.1.100:85 und "meinedomäne":85 funktionieren nicht.

Wo liegt der Hund begraben.

Grüsse

Renato
caradon
 
Posts: 6
Joined: 11. October 2003 19:32


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 50 guests