It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Set up Confluence webDav on Localhost

Matthias Apr 22, 2015

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

0 votes
Davin Studer Community Leader 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\
0 votes
Matthias Apr 22, 2015

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,294 views 8 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you