apache on aegir-server could not be restarted.

AH00526: Syntax error on line 13 of /var/aegir/config/server_master/apache/vhost.d/t11.onebayview.com: RewriteCond: bad flag delimiters Action 'graceful' failed. The Apache error log may have more information.)

Here is the file:
more /var/aegir/config/server_master/apache/vhost.d/t11.com

<VirtualHost *:80>
        DocumentRoot /var/aegir/platforms/drupal/8/servers/dev-social/html 
    
    ServerName t11.com
      ServerAlias t11-com.myserver.com
  ServerAlias www.t11.com

    RewriteEngine on

    # Redirect ALL visitors to a configured url.
    # Except for /.well-known/acme-challenge/ to prevent potential problems with Let's Encrypt
    RewriteCond %{REQUEST_URI} '!/.well-known/acme-challenge/'\n";

    # the ? at the end is to remove any query string in the original url
    RewriteRule ^(.*)$ http://aegir-server.com/hosting/disabled/t11.com?

</VirtualHost>

Comments

SocialNicheGuru created an issue. See original summary.

helmo’s picture

Status: Active » Fixed

Thanks ... that \n"; looks like a copy/paste bug :(

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.