Subject: | erroneous warning: invalid syntax: found end of C-comment without previous start! |
Hello:
I have the following Apache configuration file scenarios:
1) */ in a comment line
# EBCDICConvertByType Off=InOut */*
generated the warning:
invalid syntax: found end of C-comment without previous start!
2) */ in a path
<Directory /home/*/public_html>
. . .
Also a warning:
invalid syntax: found end of C-comment without previous start!
EndBlock "</Directory>" has no StartBlock statement (level: 1, chunk 123)!
3) ScriptAliasMatch ^/cgi.*/(.*) /usr/local/apache/cgi-bin/$1
Also a warning:
invalid syntax: found end of C-comment without previous start!
I am not sure but my 'default' Apache conf with:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
as described in Bug #7957 does parse properly.
I tried to turn off:
-CComments => 'Off'
but it does not ignore the */
Regards - Fred
PS: I also would have a question.
Is there an easy way to insert a line in a <virtual >...</virtual> section and keep all the comments and blanks ?