Apache plugin not working

./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

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.

Tried adding quotes. No change

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