Hallo,
ich bin langsam am Verzweifeln.
Mein Apache gibt als Fehlermeldung z.B. bei einer nicht gefundenen Seite immer folgendes zurück:
[an error occurred while processing this directive] Der angeforderte URL konnte auf dem Server nicht gefunden werden. Sofern Sie den URL manuell eingegeben haben, überprüfen Sie bitte die Schreibweise und versuchen Sie es erneut. [an error occurred while processing this directive]
In der error.log vom Apache steht dann Folgendes:
[Thu May 27 10:33:11 2004] [error] [client xxx.xxx.xxx.xxx] unable to include potential exec "include/top.html" in parsed file C:/XAMPP/apache/error/HTTP_FORBIDDEN.html.var, referer: http://www.meine-seite.de/index.html
[Thu May 27 10:33:11 2004] [error] [client xxx.xxx.xxx.xxx] unable to include potential exec "include/bottom.html" in parsed file C:/XAMPP/apache/error/HTTP_FORBIDDEN.html.var, referer: http://www.meine-seite.de/index.html
Ich weiß, dass ich in der httpd.conf ein Alias für die include-Dateien setzten muss. Aber was mache ich falsch? Es funktioniert einfach nicht.
Ich habe es schon in zig Varianten ausprobiert. (Den Server habe ich dann natürlich auch immer neu gestartet.)
Der gewisse Teil der httpd.conf sieht wie folgt aus:
#
# Putting this all together, we can Internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# our collection of by-error message multi-language collections. We use
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_<error>.html.var files by adding the line;
#
# Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# C:/xampp/apache/error/include/ files and
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#
<IfModule mod_negotiation.c>
<IfModule mod_include.c>
Alias /error/ "C:/xampp/apache/error/"
Alias /error/include/ "c:/xampp/htdocs/include/"
#Alias /error/include/ "c:/xampp/apache/error/include/"
<Directory "C:/xampp/apache/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>
ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
</IfModule>
</IfModule>
Wenn mir jemand weiterhelfen könnte, wäre ich sehr dankbar.
ThorstenT