[users@httpd] mod_include question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I want allow to use the <!--#include virtual="..." --> directive for including ordinary html code (no SSI). In the httpd.conf file I have the following statements.

 ...
 LoadModule include_module modules/mod_include.so
 ...
 <Directory />
   Options FollowSymLinks +Includes
   AllowOverride None
 </Directory>
 ...

Anfortunatelly the following does not work

File "test.html":

 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html>
 <head>
 </head>
 <body>
    <!--#include virtual="/gaga.txt" -->
 </body>
 </html>

File "gaga.txt":

 Hello world !

I guess I am missing some Options but have no idea which. Nothing useful found in
the logfile.

Any idea ?

Thank's in advance for any help

   Pedro





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux