unable to include potential exec

Apache, Lighttpd, nginx, Cherokee
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

unable to include potential exec

Post by adjustman » 2007-01-28 08:24

Hallo,

ich habe schon Google bemüht und im Forum gesucht. Leider nix brauchbares dabei.
Auf einem Apache 2 kommen immer diese Fehler im Log.

Code: Select all

unable to include potential exec "include/top.html" in parsed file /usr/share/apache2/error/HTTP_NOT_FOUND.html.var
Der Aufruf lautet:

Code: Select all

--><!--#include virtual="include/top.html" -->
Das gleiche bei bottom.html. Es ist Confixx im Spiel. Wie kann man das beheben? Danke.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11138
Joined: 2003-02-27 01:00
Location: Hamburg

Re: unable to include potential exec

Post by Joe User » 2007-01-28 11:00

Interessant ist die "Options"-Line:

Code: Select all

Alias "/error/" "/usr/share/apache2/error/"
<Directory "/usr/share/apache2/error">
    Options -All +Includes
    AllowOverride None
    Order allow,deny
    Allow from all
    LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
    ForceLanguagePriority Prefer Fallback
    AddOutputFilter Includes html
</Directory>
HTH
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: unable to include potential exec

Post by adjustman » 2007-01-28 18:58

Code: Select all

Warning: Unknown(): open_basedir restriction in effect. File(/usr/share/apache2/error/HTTP_NOT_FOUND.html.var) is not within the allowed path(s): (/var/www/web2/html/:/var/www/web2/phptmp/:/var/www/web2/files/:/var/www/web2/atd/) in Unknown on line 0
Das hatte ich schon mal.

Edit: Wie kann man das mit open_basedir in den Griff kriegen?