httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak, R." <>
Subject [users@httpd] "IncludesNoExec" complains "unable to include potential exec"
Date Mon, 04 Apr 2005 15:43:45 GMT
I use ".ssi" as the extension for SSI files and use this option in
    AddOutputFilter INCLUDES .ssi
Everything worked until two days ago, when the Linux installation was
changed from SuSE to Fedora (Fedora Core 3). SSI virtual includes like:
    <!--#include virtual="/~masatran/includes/header.en-us.xhtml.utf8.ssi"-->
now print:
    [an error occurred while processing this directive]

XML WARNING: These webpages are served as "application/xhtml+xml" to
browsers which accept it. XML errors are unlike HTML errors; a XML document
with an error causes only the error to be displayed. So, the source needs to
be viewed.

Example webpage: <>. The first line is:
    <!--#include virtual="/~masatran/includes/header.en-us.xhtml.utf8.ssi"-->

The included webpage fragment
is accessible by the browser.

".htaccess": <>

I did not change anything after the re-installation. (To simplify this
question, I substituted the value of an environment variable, and gave the
filename extension instead of using Multiviews.)

The error log says:
    [Mon Apr 04 01:04:04 2005] [error] [client] unable to include potential exec
"/~masatran/includes/header.en-us.xhtml.utf8.ssi" in parsed file /research/cde/masatran/public_html/index.en-us.xhtml.utf8.ssi

I am not executing anything; I am including one file in another.

In "httpd.conf", the directory has:
    Options MultiViews Indexes FollowSymlinks IncludesNoExec
On changing this to:
    Options MultiViews Indexes FollowSymlinks Includes
everything works.

But the sysadmin said that he would change it back after a few days; so I
need this to work with "IncludesNoExec".

The (new) httpd gives its version as "Apache/2.0.52 (Fedora)" (in directory
Deepak, R. <>

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message