Set up Confluence webDav on Localhost

Hello everyone
Currently i have to find out a way to automatically import textfiles with links to existing pages into Confluence. My way of approach is simple. I want a python file to copy the file in confluence's WebDav "directory".
I've sucessfully set up a local instance of Confluence on my computer to test this. But i can't get webDav to work. My instance It runs on a Win7 (64 bit) Machine. Confluence settings are HTTP and Port 80 as it should be.

Server.xml

<Server port="80" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="200" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8" />
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">
<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
<Manager pathname="" />
</Context>
</Host>
</Engine>
...
</Service>
</Server>


If i'm not mistaken i should be able to acess webDav via windows "mount network drive" but with
\\localhost\webdav it won't work. The windows webfolder workarround won't work eather.

Im shure its a silly mistake, but i honestly can't find it. i would be grateful if someone could point it out for me.

Thanks
Matthias

2 answers

This widget could not be displayed.
Davin Studer Community Champion Apr 22, 2015

When I connect to our remote server via webdav this is the UNC path that I use.

\\{server}\DavWWWRoot\plugins\servlet\confluence\default\

So, I would think that you should use ...

\\localhost\DavWWWRoot\plugins\servlet\confluence\default\
This widget could not be displayed.

Thanks for the tipp David.

Unfortunely it didn't work. But in the end the messing arround with it showed me, that the problem was neather Confluence nor webDAV. Just windows webfolder and windows networkdrive couldn't handle such a path.

If someone encounters the same problem:

https://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence#ConfiguringaWebDAVclientforConfluence-disablestrictpathchecking  –> comment section

and

https://ecosystem.atlassian.net/browse/WBDV-229

may be helpfull

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

134 views 1 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you