{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1531","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1531/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1531/comments","events_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1531/events","html_url":"https://github.com/letsencrypt/letsencrypt/issues/1531","id":117303227,"number":1531,"title":"Augeas fails to parse RewriteRule and FilesMatch regexps (incl. Drupal .htaccess files)","user":{"login":"kristofferwiklund","id":1182825,"avatar_url":"https://avatars.githubusercontent.com/u/1182825?v=3","gravatar_id":"","url":"https://api.github.com/users/kristofferwiklund","html_url":"https://github.com/kristofferwiklund","followers_url":"https://api.github.com/users/kristofferwiklund/followers","following_url":"https://api.github.com/users/kristofferwiklund/following{/other_user}","gists_url":"https://api.github.com/users/kristofferwiklund/gists{/gist_id}","starred_url":"https://api.github.com/users/kristofferwiklund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristofferwiklund/subscriptions","organizations_url":"https://api.github.com/users/kristofferwiklund/orgs","repos_url":"https://api.github.com/users/kristofferwiklund/repos","events_url":"https://api.github.com/users/kristofferwiklund/events{/privacy}","received_events_url":"https://api.github.com/users/kristofferwiklund/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/apache","name":"apache","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/milestones/11","html_url":"https://github.com/letsencrypt/letsencrypt/milestones/0.1.1","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/milestones/11/labels","id":1450569,"number":11,"title":"0.1.1","description":"Release with high-priority bugfixes for the Public Beta 0.1.0.","creator":{"login":"pde","id":479213,"avatar_url":"https://avatars.githubusercontent.com/u/479213?v=3","gravatar_id":"","url":"https://api.github.com/users/pde","html_url":"https://github.com/pde","followers_url":"https://api.github.com/users/pde/followers","following_url":"https://api.github.com/users/pde/following{/other_user}","gists_url":"https://api.github.com/users/pde/gists{/gist_id}","starred_url":"https://api.github.com/users/pde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pde/subscriptions","organizations_url":"https://api.github.com/users/pde/orgs","repos_url":"https://api.github.com/users/pde/repos","events_url":"https://api.github.com/users/pde/events{/privacy}","received_events_url":"https://api.github.com/users/pde/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":8,"state":"open","created_at":"2015-12-08T19:12:55Z","updated_at":"2015-12-09T07:43:16Z","due_on":"2015-12-11T08:00:00Z","closed_at":null},"comments":15,"created_at":"2015-11-17T07:57:17Z","updated_at":"2015-12-09T14:16:51Z","closed_at":"2015-12-08T08:01:53Z","body":"I am trying running the following command:\r\n./letsencrypt-auto --server https://acme-v01.api.letsencrypt.org/directory --help\r\n\r\nAnd I get:\r\nUpdating letsencrypt and virtual environment dependencies.......\r\nRunning with virtualenv: sudo /home/koffe/.local/share/letsencrypt/bin/letsencrypt --apache --server https://acme-v01.api.letsencrypt.org/directory --agree-dev-preview\r\nThe apache plugin is not working; there may be problems with your existing configuration.\r\nThe error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/var/aegir/platforms/20151024/.htaccess', u'Syntax error'),)\r\n\r\n\r\n\r\nWith a verbose output:\r\nRequested authenticator apache and installer apache\r\nOther error:(PluginEntryPoint#apache): ('There has been an error in parsing the file (%s): %s', u'/var/aegir/platforms/20151024/.htaccess', u'Syntax error')\r\nTraceback (most recent call last):\r\nFile \"/home/koffe/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/plugins/disco.py\", line 103, in prepare self._initialized.prepare()\r\nFile \"/home/koffe/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/configurator.py\", line 152, in prepare self.check_parsing_errors(\"httpd.aug\")\r\nFile \"/home/koffe/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/augeas_configurator.py\", line 68, in check_parsing_errors raise errors.PluginError(msg)\r\nPluginError: ('There has been an error in parsing the file (%s): %s', u'/var/aegir/platforms/20151024/.htaccess', u'Syntax error')  \r\n\r\n\r\nHere is the .htaccess file\r\n[htaccess.txt](https://github.com/letsencrypt/letsencrypt/files/36394/htaccess.txt)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/comments/163250845","html_url":"https://github.com/letsencrypt/letsencrypt/issues/1531#issuecomment-163250845","issue_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1531","id":163250845,"user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T14:16:51Z","updated_at":"2015-12-09T14:16:51Z","body":"Can you pastebin the exact file so I can double check it's parsing with the lens itself?  We may be able to narrow down then whether it's another issue in the lens or if it's a problem in how it's being run.\r\n\r\nIf you can follow these steps too, we can check it's parsing on your computer by doing:\r\n\r\n1. download `augcheck` from https://raw.githubusercontent.com/raphink/augeas-sandbox/master/augcheck\r\n2. ensure you have `augparse` installed (augeas-tools package on Debian/Ubuntu, augeas on RPM distros)\r\n3. from the LE directory, run: `AUGEAS_LENS_LIB=letsencrypt-apache/letsencrypt_apache/augeas_lens/ augcheck /var/aegir/platforms/20151024/.htaccess Httpd`"}}