Thread: Apache HTML include files problem
i seem unable use htmli have tried following advice in thread http://ubuntuforums.org/showthread.php?t=1510098 makes no difference.code:<!--#include virtual="test.txt" -->
file there, line delivered browser as-is.
using lucid , new install of apache 2.2 repository.
appreciated.
tia
nick
hi nick,
please confirm apache configuration includes following lines -->
please confirm apache error_log -- /var/log/apache2/error_log (or wherever it's located, don't have ubuntu machine hand check) contains no errors when restart apache.code:loadmodule include_module modules/mod_include.so ... addtype text/html .shtml addoutputfilter includes .shtml ... <directory "/var/www/..."> # wherever want includes active options ... +includes ... # , other options want
confirm test.txt in same directory (this have specified virtual= path) file calling include from, whilst verifying filename ends in .shtml
covers pretty everything, unless using mac (mandatory access controls) implementation such apparmour or selinux.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Apache HTML include files problem
Ubuntu
Comments
Post a Comment