Forum Moderators: coopster
This is my shtml include
<!--#include file="counter.php" -->
This is my php include
include("counter.php");
And this is my error
[Sat Nov 20 13:59:51 2004] [error] [client 206.172.171.169] unable to include potential exec "counter.php" in parsed file /yorkshire_terriers.shtml
Thank you
I have a php include on a php page and an ssi include on an shtml page.
For some reason it does not work on the shtml page but it works on the php page.
if you visit this page you will see what I mean
click around the menu and you will see the include not working on the left side underneath the menu.
Thank you
[edited by: jatar_k at 10:47 pm (utc) on Nov. 21, 2004]
[edit reason] removed link [/edit]
That error message is issued when you are using the Apache IncludesNOEXEC [httpd.apache.org] directive, which means that you are not allowing SSI exec to run programs [httpd.apache.org].
Additional Resources:
Search these pages for "IncludesNOEXEC"
mod_include (Basic Elements -- The exec Element and The include Element) [httpd.apache.org]
Apache Core -- Options Directive [httpd.apache.org]