Looking for help with SSI. We have a production boxes using Apache/2.2.22 on Ubuntu 12.04 LTS that renders (thousands of) pages like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php include '/inc/header.inc';?>

which I'm trying to migrate to Apache/2.4.7 on Ubuntu 14.04 LTS.

After several hours of googling/reading/trying, these pages only render (perfectly) by using:

<!--#include virtual="/inc/header.inc" -->

yet other <?php expressions such as <?php phpinfo(); ?> work flawlessly.

There's got to be something simple that I haven't cottoned onto... (logs show no errors)

Using (per virtual host) a directory:
<Directory /var/www/andequip>
        XBitHack on
        Options Indexes FollowSymLinks MultiViews Includes
        AllowOverride None
        Require all granted
        AddType text/html .inc .html
        AddOutputFilter INCLUDES .inc .html
</Directory>

Relevant(?) mods include cgid, fcgid, include, mpm-prefork and php5

Thanks for any thoughts, pointers, etc

Best - Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to