Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Apache2 server failure; Related to Virtual Host file configuration

$
0
0
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

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>