Hi Nick,
Please confirm your apache configuration includes the following lines -->
Code:
LoadModule include_module modules/mod_include.so
...
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
...
<Directory "/var/www/..."> # Wherever you want the includes to be active
Options ... +Includes ... # And other options you want
Please then confirm that the apache error_log -- /var/log/apache2/error_log (or wherever it's located, i don't have an ubuntu machine to hand to check) contains no errors when you restart apache.
Finally confirm that test.txt is in the same directory (this is what you have specified with your virtual= path) as the file you are calling the include from, whilst also verifying that filename ends in .shtml
This covers pretty much everything, unless you are using a MAC (mandatory access controls) implementation such as AppArmour or SELinux.
Bookmarks