Page 1 of 1

unable to include potential exec

Posted: 2007-01-28 08:24
by adjustman
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.

Re: unable to include potential exec

Posted: 2007-01-28 11:00
by Joe User
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

Re: unable to include potential exec

Posted: 2007-01-28 18:58
by adjustman

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?