Solved Error after upgrading Apache

jonium

Verified User
Joined
Nov 10, 2010
Messages
208
Location
Alezio - Lecce- Apulia - South Italy
I just upgraded Apache from version 2.4.46 to 2.4.48
Now I can't start Apache,
I get:
Jun 10 12:38:01 lnx8.ormag.net systemd[1]: Starting The Apache HTTP Server...
Jun 10 12:38:01 lnx8.ormag.net httpd[21812]: AH00526: Syntax error on line 8 of /etc/httpd/conf/extra/httpd-directories.conf:
Jun 10 12:38:01 lnx8.ormag.net httpd[21812]: Option FollowSymLinks not allowed here
Jun 10 12:38:02 lnx8.ormag.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jun 10 12:38:02 lnx8.ormag.net systemd[1]: Failed to start The Apache HTTP Server.
Jun 10 12:38:02 lnx8.ormag.net systemd[1]: Unit httpd.service entered failed state.
Jun 10 12:38:02 lnx8.ormag.net systemd[1]: httpd.service failed.
 
In /etc/httpd/conf/extra/
I have :

httpd-directories-old.conf

<Directory />
Options All
AllowOverride All
</Directory>

<Directory /home>
AllowOverride All
Options -MultiViews -Indexes +FollowSymLinks +IncludesNoExec +Includes
AllowMethods GET HEAD POST
</Directory>

Include /etc/httpd/conf/extra/httpd-hostname.conf

<Directory /var/www/cgi-bin>
AllowOverride None
Options None
Require all granted
</Directory>

and
httpd-directories-new.conf

<Directory />
Options SymLinksIfOwnerMatch
AllowOverride None

Require all denied
</Directory>

<Directory /home>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,IncludesNOEXEC,Indexes,ExecCGI,MultiViews,SymLinksIfOwnerMatch,None
Options IncludesNoExec Includes SymLinksIfOwnerMatch ExecCGI
AllowMethods GET HEAD POST
</Directory>

Include /etc/httpd/conf/extra/httpd-hostname.conf

<Directory /var/www/cgi-bin>
AllowOverride None
Options None
Require all granted
</Directory>

I tried to re-put the old conf but with no success
 
Back
Top