Apache2 server failure; Related to Virtual Host file configuration

I ran:

systemctrl status apache2.service

and get an error related to my virtual host configuration file:

AH00526: Syntax error on line 45 of /<path of domain>.conf:
… : Either all Options must start with + or -, or no Option may.

It points to my virtual host configuration file where the issue is on the “Options Indexes Includes FollowSymLinks +ExecCGI” line. Here is the content related:

<Directory /srv/www.mysite.com/htdocs>
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders +GlobalRequest
Options Indexes Includes FollowSymLinks +ExecCGI
DirectoryIndex /eLearning.app
RewriteEngine on
RewriteRule ^img/dynamic/(.)/(.).png /img/dynamic/onthefly.app?color=$1&text=$2&%{QUERY_STRING} [L]
RewriteRule ^data/interactivity/(.).xml /data/interactivity/interactivity.app?id=$1
RewriteRule ^img/media/(.
).(jpg|png) /img/media/media.app?id=$1&type=$2&%{QUERY_STRING} [L]
RewriteRule ^img/thumbs/(.).(jpg|png) /img/thumbs/thumb.app?id=$1&%{QUERY_STRING} [L]
RewriteRule ^script/module/(.
).js /script/module/elearning.module.app?id=$1
RewriteRule ^app/(.)/(.)/$ eLearning.app?action=$1&key=$2&%{QUERY_STRING} [L]
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Any suggestions? Am I missing a module?

David

On 06/12/2014 12:26 PM, djumeau wrote:
>
> I ran:
>
> # systemctrl status apache2.service
>
> and get an error related to my virtual host configuration file:
>
> AH00526: Syntax error on line 45 of /<path of domain>.conf:
> … : Either all Options must start with + or -, or no Option may.
>
> It points to my virtual host configuration file where the issue is on
> the “Options Indexes Includes FollowSymLinks +ExecCGI” line.

I am not an Apache2 expert, but did you try removing the + in that line as the
error message suggests?