-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache return HTTP405 for PUT, PROPFIND, MKCOL etc. #8536
Comments
Hmm. This doesn´t sound like a bug but more like documentation. Can you do a pull request to add this to the ownCloud documentation to the "documentatiom" repository? Perhaps a tips and tricks section? |
@karlitschek i think @aheusingfeld is recommending to add an explicit dependency to the ownCloud debian/ubuntu packages to prevent that the libapache2-mod-php5filter is used instead of the correct libapache2-mod-php5 |
Yes. This would be even better. Pull requests welcome :-) |
@karlitschek |
This is done in the OBS. @dragotin Can you explain how to contribute? |
this is how to contribute: http://en.opensuse.org/openSUSE:Build_Service_Collaboration The question is why the package |
@dragotin |
@RealRancor that's exactly what I did. I had owncloud running with Ubuntu 12.04.4 but wanted to checkout Apache 2.4 for Forward Secrecy. The package was exchange during the upgrade from 12.04.4 LTS to 14.04 |
@aheusingfeld Good to know. You could check your /var/log/apt/history.* and/or /var/log/apt/term.* to see why the |
Any opinions about adding a conflict to |
@jnweiger FYI |
@LukasReschke thanks for the pointer. I'll add a test against libapache2-mod-php5filter to the installation test suite. |
This bug report is more or less an information for all people stumbling over the PROPFIND, MKCOL or PUT requests return HTTP 405 on Apache which leads to problems similar as the ones described in #6242. In my case I am using Apache 2.4 on Ubuntu 14.04 and installed owncloud 6.0.3 via the ubuntu package via aptitude from
http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/
After setting up owncloud I saw multiple lines like this in my apache ssl-access.log when I tried to create a folder via the owncloud OS X client 1.5.5 or access the WebDAV in any other way than via the browser:
Additionally my
owncloud.log
contained lines like this:It turns out the problem didn't directly have to do with ownCloud but with the PHP module that had been installed together with ownCloud! This was not the old
libapache2-mod-php5
but insteadlibapache2-mod-php5filter
which has the following behaviour:You can get more information here: http://apache-http-server.18135.x6.nabble.com/Issue-with-HTTP-methods-DELETE-PUT-not-being-accepted-returning-405-Method-not-allowed-td4999776.html
The solution in this was a very simple
which automatically removed
libapache2-mod-php5filter
and reconfigured my Apache.Everything seems to work fine now but maybe you want to consider to add
libapache2-mod-php5
as a dependency to the ownCloud debian package.The text was updated successfully, but these errors were encountered: