{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/6188","labels_url":"https://api.github.com/repos/owncloud/core/issues/6188/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/6188/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/6188/events","html_url":"https://github.com/owncloud/core/issues/6188","id":23745461,"number":6188,"title":"I can't upload my projects .htaccess files","user":{"login":"jerrac","id":910764,"avatar_url":"https://avatars.githubusercontent.com/u/910764?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrac","html_url":"https://github.com/jerrac","followers_url":"https://api.github.com/users/jerrac/followers","following_url":"https://api.github.com/users/jerrac/following{/other_user}","gists_url":"https://api.github.com/users/jerrac/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrac/subscriptions","organizations_url":"https://api.github.com/users/jerrac/orgs","repos_url":"https://api.github.com/users/jerrac/repos","events_url":"https://api.github.com/users/jerrac/events{/privacy}","received_events_url":"https://api.github.com/users/jerrac/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2013-12-04T20:55:14Z","updated_at":"2015-10-14T19:53:40Z","closed_at":"2013-12-04T23:08:08Z","body":"I would like to use OwnCloud to sync the code of several web projects between my development computers.\r\n\r\nWhen I try, everything but my .htaccess files sync. I have three of them in the project I'm testing this with.\r\n\r\nI removed the .htaccess rule from the /etc/ownCloud/sync-exclude.lst file.\r\n\r\nIf that rule is on other computers I'm syncing with, will that cause issues with uploading from the computer without it?\r\n\r\nThe info window on the client says: ```Problem: Internal Server Error``` for each file.\r\n\r\nIn my server's syslog, I get:\r\n```\r\nDec  4 12:51:58 ws-prod-filehost-01 ownCloud[458]: {webdav} \\OC\\Files\\Filesystem::rename() failed\r\nDec  4 12:51:58 ws-prod-filehost-01 ownCloud[6712]: {webdav} \\OC\\Files\\Filesystem::rename() failed\r\nDec  4 12:51:58 ws-prod-filehost-01 ownCloud[26945]: {webdav} \\OC\\Files\\Filesystem::rename() failed\r\n```\r\n\r\nOS: Ubuntu 12.04\r\nMy sync client is 1.4.2\r\nOwnCloud server: 5.13\r\nSever OS: Ubuntu 12.04"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/148177333","html_url":"https://github.com/owncloud/core/issues/6188#issuecomment-148177333","issue_url":"https://api.github.com/repos/owncloud/core/issues/6188","id":148177333,"user":{"login":"chriseqipe","id":3618532,"avatar_url":"https://avatars.githubusercontent.com/u/3618532?v=3","gravatar_id":"","url":"https://api.github.com/users/chriseqipe","html_url":"https://github.com/chriseqipe","followers_url":"https://api.github.com/users/chriseqipe/followers","following_url":"https://api.github.com/users/chriseqipe/following{/other_user}","gists_url":"https://api.github.com/users/chriseqipe/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseqipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseqipe/subscriptions","organizations_url":"https://api.github.com/users/chriseqipe/orgs","repos_url":"https://api.github.com/users/chriseqipe/repos","events_url":"https://api.github.com/users/chriseqipe/events{/privacy}","received_events_url":"https://api.github.com/users/chriseqipe/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T19:53:40Z","updated_at":"2015-10-14T19:53:40Z","body":"Why not implementing a filename filter/handler in onwcloud?\r\nFor example: Client sends **.htaccess** as filename, oc recognizes that as to be handled by the special filename handler and stores the file as for example **.oc.htaccess** in filesystem and metadata in database as usual. \r\nWhen showing file in Webbrowser or via WebDAV the filename handler automagic takes away the .oc prefix. If user want's to store a file named .oc.htaccess the filter just adds .oc and will create a filename .oc.oc.htaccess. When retrieving the .oc prefix will be removed again....\r\n\r\n "}}