Wenn ich "localhost/error" eingebe, bekomme ich immer eine 403 Forbidden-Fehler, auf meinen Webspace hingegen nicht
Überall steht zwar man soll in der "httpd-xampp.conf" unten was umstellen, aber wie oben bereits geschrieben, funktoniert dies auf dem Ordner nicht
- Code: Select all
#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
Habe Allow All, All Localhost etc. reingeschrieben, sogar den ErrorDocument rausgelöscht / auskommentiert und jedes mal neu gestartet
Xampp hab ich sogar aus diesen genannten Fehler frisch runtergeladen/geupdatet um zu schauen ob das ein Fehler war, aber leider nicht
"xampp-win32-5.6.15-1-VC11-installer" ( 5.6.15 / PHP 5.6.15 )
"Xampp Control Panel 3.2.2 [ Compiled: 12th Nov 2015 ]"
Anbei die Error.logs
Access.log
::1 - - [08/Dec/2015:13:08:12 +0100] "GET /error/ HTTP/1.1" 403 1145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"
::1 - - [08/Dec/2015:13:08:17 +0100] "GET /test/error/ HTTP/1.1" 200 3178 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"
Error.log
[Tue Dec 08 13:08:06.088919 2015] [ssl:warn] [pid 10152:tid 488] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 08 13:08:06.180886 2015] [core:warn] [pid 10152:tid 488] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Dec 08 13:08:06.273818 2015] [ssl:warn] [pid 10152:tid 488] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 08 13:08:06.320845 2015] [mpm_winnt:notice] [pid 10152:tid 488] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15 configured -- resuming normal operations
[Tue Dec 08 13:08:06.320845 2015] [mpm_winnt:notice] [pid 10152:tid 488] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Tue Dec 08 13:08:06.320845 2015] [core:notice] [pid 10152:tid 488] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Dec 08 13:08:06.325849 2015] [mpm_winnt:notice] [pid 10152:tid 488] AH00418: Parent: Created child process 9328
[Tue Dec 08 13:08:06.775547 2015] [ssl:warn] [pid 9328:tid 556] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 08 13:08:06.946273 2015] [ssl:warn] [pid 9328:tid 556] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Dec 08 13:08:06.993763 2015] [mpm_winnt:notice] [pid 9328:tid 556] AH00354: Child: Starting 150 worker threads.
[Tue Dec 08 13:08:12.361920 2015] [autoindex:error] [pid 9328:tid 1872] [client ::1:63718] AH01276: Cannot serve directory C:/xampp/apache/error/: No matching DirectoryIndex (index.php,index.pl,index.cgi,index.asp,index.shtml,index.html,index.htm,default.php,default.pl,default.cgi,default.asp,default.shtml,default.html,default.htm,home.php,home.pl,home.cgi,home.asp,home.shtml,home.html,home.htm) found, and server-generated directory index forbidden by Options directive
"localhost/error" und "localhost/test/error" besitzen 1zu1 dieselben Daten zum testen, bekomme aber nur beim Aufruf von Hauptverzeichniss "/error" den Fehler, jeder andere Ordner mit einen "/error" Ordner gibt normal eine 404 und/oder die Index aus
Edit: Gerade gesehen " C:/xampp/apache/error/: No matching DirectoryIndex "
Habe mal unter "C:/xampp/apache/error/" meine Index Datei abgelegt und siehe da, es klappt, doch wieso es sollte doch eigentlich der htdocs Ordner sein?