Apache plugin not working


#1

./letsencrypt-auto --apache --server https://acme-v01.api.letsencrypt.org/directory --agree-dev-preview

I get this error:

     The apache plugin is not working; there may be problems with your existing configuration.
     The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/apache2/sites-enabled/c-beta.ossguy.com.conf', u'Syntax error'),)

the file in question is: http://pastie.org/private/dparrnehfdtny0uwt4j88g

My apache version is 2.4.10


#2

I remember seeing this post where letsencrypt was having difficulties parsing a RewriteRule unless quotes were added.

Maybe the same thing is happening here with AliasMatch - it’s dealing with regular expressions as well. Just a shot in the dark, I haven’t encountered the error myself and didn’t test this.


#3

Tried adding quotes. No change


#4

I just # out all the rewrite lines and it solved for me