Closed (fixed)
Project:
Aegir HTTPS
Version:
7.x-3.150
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2018 at 15:27 UTC
Updated:
23 Aug 2018 at 18:04 UTC
Jump to comment: Most recent
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
Comment #2
helmo commentedThanks ... that
\n";looks like a copy/paste bug :(