WebFaction
Community site: login faq

Hi there

How does Webfaction proxy WebDAV to Zope without running into "405 Not Allowed" from nginx?

asked 26 May '12, 07:02

Jean Jordaan
431615
accept rate: 33%

Can you elaborate on the problem? What scenario do you have where you are running into this issue?

(26 May '12, 07:23) todork

I don't think that we actually support Zope's WebDAV implementation behind our Nginx. Instead, if you open a support ticket to let us know the port that you're using for WebDAV on Zope, we can open our firewall to allow access to that port on a separate IP, so you will be able access it directly, eg webdav.domain.com:54321.

permanent link

answered 26 May '12, 11:49

seanf
12.2k41836
accept rate: 37%

Actually you support it 100% perfect :-)

I created an app like this (from the Webfaction export API), where I start the Zope DAV server on the assigned port:

 {'autostart': False,
  'extra_info': '',
  'id': 12345,
  'machine': 'Dwebxx',
  'name': 'plone_dav',
  'port': 32124,
  'type': 'custom_app_with_port'},

and defined a site like this:

 {'https': False,
  'id': 54321,
  'ip': '1.2.3.4',
  'name': 'plone_dav',
  'subdomains': ['dav.plone.user.webfactional.com'],
  'website_apps': [['plone_dav', '/']]},

This goes through Webfaction's nginx, right?

I've been using cadaver to update a Plone site with no hitches at all.

If I try to do the same kind of thing locally, I bump into the fact that nginx doesn't support PROPFIND etc., which causes the 405 error.

(28 May '12, 02:35) Jean Jordaan

Hi,

If you have a custom app (listening on port) that has port 54321 assigned, and you set up a new site for dav.plone.user.webfactional.com and assign that app to it, then yes - this would go through our frontend Nginx server.

There should be no issue with Nginx not supporting PROPFIND - after all, it only needs to pass it to the backend server. There must be some other problem with your Nginx configuration that causes the 405 error.

(28 May '12, 02:55) todork
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×18
×16

question asked: 26 May '12, 07:02

question was seen: 5,484 times

last updated: 28 May '12, 02:55

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM