Lewis
2013-08-04 00:08:48 UTC
I have a site with the following .htaccess:
Options +ExecCGI +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/x-httpd-cgi .cgi/
AddType application/x-httpd-cgi .pl
AddType application/x-httpd-cgi .pl/
AddType text/css .css
I also have Addtype and AddOutputFilter lines in the httpd.conf, as well as the following block:
<Directory "/usr/local/www">
Options +Indexes +FollowSymLinks +Includes -SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
and on the index.shtml page I have
<div class=purple>
<!--#include file="menu.inc"-->
</div>
This all worked in apache 2.2 (with AddType text/html .shtml and
AddHandler server-parsed .shtml), but under 24 the menu.inc file is not
loading.
(the content of the site has not changed in 11 years, so this is
definitely something I've missed in the Apache configuration)
Any ideas?
Options +ExecCGI +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/x-httpd-cgi .cgi/
AddType application/x-httpd-cgi .pl
AddType application/x-httpd-cgi .pl/
AddType text/css .css
I also have Addtype and AddOutputFilter lines in the httpd.conf, as well as the following block:
<Directory "/usr/local/www">
Options +Indexes +FollowSymLinks +Includes -SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
and on the index.shtml page I have
<div class=purple>
<!--#include file="menu.inc"-->
</div>
This all worked in apache 2.2 (with AddType text/html .shtml and
AddHandler server-parsed .shtml), but under 24 the menu.inc file is not
loading.
(the content of the site has not changed in 11 years, so this is
definitely something I've missed in the Apache configuration)
Any ideas?
--
C-3PO: We seem to be made to suffer. It's our lot in life.
C-3PO: We seem to be made to suffer. It's our lot in life.