I am trying to add a RewriteRule for one our accounts and get this sytnax error message:
CODE
Syntax error on line 2232 of /usr/local/apache/conf/httpd.conf:
RewriteCond: bad flag delimiters
# This is line 2232 in the httpd.conf:
RewriteCond %{HTTP_HOST} ^(www.)?([^.]+ .mydomain.com
RewriteCond: bad flag delimiters
# This is line 2232 in the httpd.conf:
RewriteCond %{HTTP_HOST} ^(www.)?([^.]+ .mydomain.com
what is the syntax error as I can't seem to find what causing it :confused:
this is the entire RewriteRule being used in the
CODE
Rewritelog /home/<username>/tmp/rewrite.log
RewritelogLevel 0
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.mydomain.com
RewriteCond %{HTTP_HOST} ^(www.)?([^.]+ .mydomain.com
RewriteRule (.*) /cgi-bin/index.cgi/%2$1 [L]
RewritelogLevel 0
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.mydomain.com
RewriteCond %{HTTP_HOST} ^(www.)?([^.]+ .mydomain.com
RewriteRule (.*) /cgi-bin/index.cgi/%2$1 [L]
TIA
Mickalo