Could somebdy point to me to good tut on setting up a webdav

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Could somebdy point to me to good tut on setting up a webdav

Postby Handler » 01. August 2017 22:36

Hello!

First off this is for my own personal use at home, no real world production stuff.

So I've done a bit of Googling and found somethings about webdav but it was like reading Klingon. I could not really find a tutorial or guide that was just in plain English and not written in extreme techno-speak.

I appreciate any help or information given!

Thanks!

Dave
Handler
 
Posts: 14
Joined: 01. April 2014 03:07
Location: Indianapolis
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Could somebdy point to me to good tut on setting up a we

Postby Altrea » 01. August 2017 22:50

Hi Dave,

Well, what do you want to know about WEBDAV?
In your Apache configuration you define a Directory and some sort of URL (Alias, VirtualHost, Location, etc), activate webdav for that Directory and can define authentification and all the default configuration stuff Apache provides.
If WEBDAV is activated you can use the defined URL to connect it as a network drive.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8938
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Could somebdy point to me to good tut on setting up a we

Postby Handler » 01. August 2017 23:46

I understand that much . I'm just unsure of how the configuration is set up inside the conf file. You wouldn't happen to have an example I could follow would you?
Handler
 
Posts: 14
Joined: 01. April 2014 03:07
Location: Indianapolis
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Could somebdy point to me to good tut on setting up a we

Postby Altrea » 02. August 2017 00:05

The Apache manual has an example for that
https://httpd.apache.org/docs/2.4/mod/mod_dav.html
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8938
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Could somebdy point to me to good tut on setting up a we

Postby Handler » 02. August 2017 00:19

If I remember right I was getting hung up on the AuthUserFile. I know in Linux there's a command line tool for this but I'm on windows. Where to make that password file?
Handler
 
Posts: 14
Joined: 01. April 2014 03:07
Location: Indianapolis
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Could somebdy point to me to good tut on setting up a we

Postby Altrea » 02. August 2017 05:26

Your XAMPP Apache containes a Windows command line tool htpasswd.exe. This file could be find in your Apache bin folder and will help you creating this file.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8938
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Could somebdy point to me to good tut on setting up a we

Postby Handler » 02. August 2017 13:30

Altrea wrote:Your XAMPP Apache containes a Windows command line tool htpasswd.exe. This file could be find in your Apache bin folder and will help you creating this file.


I saw that once I got home. =\

I made the password file and changed the conf file to match. I could map to that location but it never asked me for my password which was odd!
Handler
 
Posts: 14
Joined: 01. April 2014 03:07
Location: Indianapolis
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Could somebdy point to me to good tut on setting up a we

Postby Altrea » 02. August 2017 17:42

I cannot tell you anything about that issue without knowing any helpful information.
The HTTP basic auth password will only be requested if there is not a valid session present. So you should clear your Browser cache.
Apache configuration changes only taking effect after restarting Apache.
Showing us your current configuration would be helpful.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8938
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Could somebdy point to me to good tut on setting up a we

Postby Handler » 03. August 2017 16:34

Sorry I didn't get this posted sooner been a crazy couple of days here!

Ok .. this is the conf for the dav

Code: Select all
<IfModule dav_module>
<IfModule dav_fs_module>
<IfModule setenvif_module>
<IfModule alias_module>
<IfModule auth_digest_module>
<IfModule authn_file_module>#

DavLockDB "C:/xampp/apache/logs/Dav.Lock"

Alias /webdav "C:/xampp/webdav/"

<Directory "C:/xampp/webdav">
Require all granted
    Dav On

    AuthType Digest
    AuthName "XAMPP with WebDAV"
    AuthUserFile "c:/xampp/apache/user.passwd"
    AuthDigestProvider file

    <LimitExcept GET OPTIONS>
        require valid-user
    </LimitExcept>
</Directory>

BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[01234]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
BrowserMatch " Konqueror/4" redirect-carefully
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On

</IfModule>
</IfModule>
</IfModule>
</IfModule>
</IfModule>
</IfModule>


And yes I have those modules enabled in http.conf file
Handler
 
Posts: 14
Joined: 01. April 2014 03:07
Location: Indianapolis
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Could somebdy point to me to good tut on setting up a we

Postby Handler » 07. August 2017 13:58

Boing Bump
Handler
 
Posts: 14
Joined: 01. April 2014 03:07
Location: Indianapolis
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Could somebdy point to me to good tut on setting up a we

Postby Nobbie » 07. August 2017 18:40

Bumpylumpy boingy doingy?

Funny!
Nobbie
 
Posts: 9689
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests