Skip to main content

Thread: Apache HTML include files problem


i seem unable use html
code:
<!--#include virtual="test.txt" -->
i have tried following advice in thread http://ubuntuforums.org/showthread.php?t=1510098 makes no difference.

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 -->

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
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.

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

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support