Re: [users@httpd] "IncludesNoExec" complains "unable to include potential exec"

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

 



On Mon, Apr 04, 2005 at 12:04:09PM -0400, Joshua Slive wrote:
> On Apr 4, 2005 11:43 AM, Deepak, R. <masatran@xxxxxxxxxxxxxxxxxxx> wrote:
> > I use ".ssi" as the extension for SSI files and use this option in
> > ".htaccess":
> >     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: <http://research.iiit.ac.in/~masatran/>. The first line is:
> >     <!--#include virtual="/~masatran/includes/header.en-us.xhtml.utf8.ssi"-->
> > 
> 
> If I remember correctly, apache considers anything with a mime-type
> other than text/* to be a potentially "exec" and therefore disallows
> it.  There was some talk about changing this, but I can't remember the
> outcome.  Your only solution would be to hack mod_include to allow
> application/xhtml+xml to be treated as a non-exectuable.

Yes, http://issues.apache.org/bugzilla/show_bug.cgi?id=32346 has a patch 
to achieve that.

joe

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