View previous topic :: View next topic |
Author |
Message |
ronjon n00b
Joined: 02 Dec 2004 Posts: 34
|
Posted: Wed Oct 19, 2005 10:18 am Post subject: webdav problems |
|
|
I set up webdav as in the webdav howto in the forums: https://forums.gentoo.org/viewtopic-t-338668-highlight-webdav.html
but when i try to connect from a windows 2000 box to the server i get this error The folder you entered does not appear to be valid.
i created the folder, and the alias, did the chown but running ngrep port 80 gives me these errors every time:
Code: |
interface: eth0 (172.25.15.0/255.255.255.0)
filter: ip and ( port 80 )
#####
T 172.25.15.11:1550 -> 172.25.15.5:80 [AP]
OPTIONS / HTTP/1.1..User-Agent: Microsoft Data Access Internet Publishing Provider Cache Manager..Host:
172.25.15.5..Content-Length: 0..Connection: Keep-Alive....
##
T 172.25.15.5:80 -> 172.25.15.11:1550 [AP]
HTTP/1.1 200 OK..Date: Wed, 19 Oct 2005 09:50:54 GMT..Server: Apache/2.0.54 (Gentoo/Linux) PHP/5.0.3..Al
low: GET,HEAD,POST,OPTIONS,TRACE..Content-Length: 0..Keep-Alive: timeout=15, max=100..Connection: Keep-A
live..Content-Type: text/html; charset=ISO-8859-1....
#
T 172.25.15.11:1550 -> 172.25.15.5:80 [AP]
OPTIONS /webdav HTTP/1.1..Accept-Language: nl, en-us;q=0.5..User-Agent: Microsoft Data Access Internet P
ublishing Provider DAV 1.1..Host: 172.25.15.5..Content-Length: 0..Connection: Keep-Alive....
#
T 172.25.15.5:80 -> 172.25.15.11:1550 [AP]
HTTP/1.1 200 OK..Date: Wed, 19 Oct 2005 09:50:54 GMT..Server: Apache/2.0.54 (Gentoo/Linux) PHP/5.0.3..Al
low: GET,HEAD,POST,OPTIONS,TRACE..Content-Length: 0..Keep-Alive: timeout=15, max=99..Connection: Keep-Al
ive..Content-Type: text/plain; charset=ISO-8859-1....
#
T 172.25.15.11:1550 -> 172.25.15.5:80 [AP]
GET /_vti_inf.html HTTP/1.1..Date: Wed, 19 Oct 2005 09:51:00 GMT..MIME-Version: 1.0..Accept: */*..User-A
gent: Mozilla/2.0 (compatible; MS FrontPage 4.0)..Host: 172.25.15.5..Accept: auth/sicily..Content-Length
: 0..Connection: Keep-Alive..Cache-Control: no-cache....
#
T 172.25.15.5:80 -> 172.25.15.11:1550 [AP]
HTTP/1.1 404 Not Found..Date: Wed, 19 Oct 2005 09:50:54 GMT..Server: Apache/2.0.54 (Gentoo/Linux) PHP/5.
0.3..Content-Length: 304..Connection: close..Content-Type: text/html; charset=iso-8859-1....<!DOCTYPE HT
ML PUBLIC "-//IETF//DTD HTML 2.0//EN">.<html><head>.<title>404 Not Found</title>.</head><body>.<h1>Not F
ound</h1>.<p>The requested URL /_vti_inf.html was not found on this server.</p>.<hr>.<address>Apache/2.0
.54 (Gentoo/Linux) PHP/5.0.3 Server at 172.25.15.5 Port 80</address>.</body></html>.
########
T 172.25.15.11:1554 -> 172.25.15.5:80 [AP]
POST /_vti_bin/shtml.exe/_vti_rpc HTTP/1.1..Date: Wed, 19 Oct 2005 09:51:00 GMT..MIME-Version: 1.0..User
-Agent: MSFrontPage/4.0..Host: 172.25.15.5..Accept: auth/sicily..Content-Length: 41..Content-Type: appli
cation/x-www-form-urlencoded..X-Vermeer-Content-Type: application/x-www-form-urlencoded..Connection: Kee
p-Alive..Cache-Control: no-cache....method=server+version%3a4%2e0%2e2%2e4715.
##
T 172.25.15.5:80 -> 172.25.15.11:1554 [AP]
HTTP/1.1 404 Not Found..Date: Wed, 19 Oct 2005 09:50:54 GMT..Server: Apache/2.0.54 (Gentoo/Linux) PHP/5.
0.3..Content-Length: 318..Keep-Alive: timeout=15, max=100..Connection: Keep-Alive..Content-Type: text/ht
ml; charset=iso-8859-1....<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">.<html><head>.<title>404 Not
Found</title>.</head><body>.<h1>Not Found</h1>.<p>The requested URL /_vti_bin/shtml.exe/_vti_rpc was no
t found on this server.</p>.<hr>.<address>Apache/2.0.54 (Gentoo/Linux) PHP/5.0.3 Server at 172.25.15.5 P
ort 80</address>.</body></html>.
###
|
|
|
Back to top |
|
|
winston_nolan n00b
Joined: 24 Aug 2004 Posts: 71 Location: cape town, south africa
|
Posted: Wed Nov 09, 2005 10:15 am Post subject: |
|
|
hi man,
that vti_bin you seem to get (and i could be wrong) when you ad trailing slashes to your dav folders, like here is my config file, check it out, maybe you can get it running
so if you add it like this it would make problems:
Alias /winston/ "/mnt/data/public/" <----------NOTE THE TRAILING SLASHES - !
My version:
Server version: Apache/2.0.55
you can put EVERYTHING in vhost.conf easier then you only have to edit one file...
###DAV ENTRIES/DIRECTIVES###
Alias /winston "/mnt/data/public"
<Location /winston>
DAV On
Options None
AllowOverride None
AuthType Basic
AuthName "Winston's Dav dir"
AuthUserFile /etc/apache2/dav.htpasswd
DAVDepthInfinity off
LimitXMLRequestBody 100000
#<Limit DELETE>
# require user winston
#</Limit>
<Limit PUT POST PROPFIND DELETE PROPPATCH MKCOL COPY MOVE>
require user winston
</Limit>
</Location>
and the rest of the stuff i keep in /etc/apache2/modules.d/45_mod_dav.conf
winston ssl # cat /etc/apache2/modules.d/45_mod_dav.conf
<IfDefine DAV>
<IfModule !mod_dav.c>
LoadModule dav_module modules/mod_dav.so
</IfModule>
</IfDefine>
<IfDefine DAV_FS>
<IfModule !mod_dav_fs.c>
LoadModule dav_fs_module modules/mod_dav_fs.so
</IfModule>
</IfDefine>
<IfModule mod_dav.c>
DavMinTimeout 600
# <Location /mypages>
# Options None
# Dav On
# <Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
# Require user greg
# </Limit>
# </Location>
</IfModule>
<IfModule mod_dav_fs.c>
# Location of the WebDAV lock database.
DavLockDB /var/lib/dav/lockdb
</IfModule>
also, i had to create the file /var/lib/dav/lockdb
touch it, like so
touch /var/lib/dav/lockdb
and then chown it apache apache or whatever the webserver is running at!
and that should work, oh, you have o htpasswd2 -cd /location/of/passwd/file username
'c' is to CREATE the file so be carefull with that,
i hope this helps man..only the best for you!
winston _________________ Winston Nolan
www.3ampsy.com - PSYTRANCE! Listen to full tracks for Free, and buy various Psytrance related gear.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Have a great day! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|