404 error

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

404 error

Postby katstar01 » 01. June 2014 21:05

when I try to access my site by using http://localhost/htdocs/sitename I keep getting a 404 error

These are what some of my error logs come up with:

PHP error log:
    Code: Select all
    [01-Jun-2014 20:25:47 Europe/Berlin] PHP Warning:  file_get_contents(lang.tmp): failed to open stream: No such file or directory in C:\xampp\htdocs\xampp\index.php on line 2

Apache Error log:

    Code: Select all
    [Sun Jun 01 13:21:28.157263 2014] [ssl:warn] [pid 568:tid 336] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:21:28.415435 2014] [ssl:warn] [pid 568:tid 336] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:21:28.514502 2014] [mpm_winnt:notice] [pid 568:tid 336] AH00455: Apache/2.4.9 (Win32) OpenSSL/0.9.8y PHP/5.4.27 configured -- resuming normal operations
    [Sun Jun 01 13:21:28.514502 2014] [mpm_winnt:notice] [pid 568:tid 336] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 11:15:11
    [Sun Jun 01 13:21:28.514502 2014] [core:notice] [pid 568:tid 336] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
    [Sun Jun 01 13:21:28.517505 2014] [mpm_winnt:notice] [pid 568:tid 336] AH00418: Parent: Created child process 9620
    [Sun Jun 01 13:21:29.098889 2014] [ssl:warn] [pid 9620:tid 328] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:21:29.344054 2014] [ssl:warn] [pid 9620:tid 328] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:21:29.400090 2014] [mpm_winnt:notice] [pid 9620:tid 328] AH00354: Child: Starting 150 worker threads.
    [Sun Jun 01 13:30:41.435601 2014] [ssl:warn] [pid 5372:tid 328] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:30:41.511650 2014] [core:warn] [pid 5372:tid 328] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Sun Jun 01 13:30:41.686767 2014] [ssl:warn] [pid 5372:tid 328] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:30:41.726804 2014] [mpm_winnt:notice] [pid 5372:tid 328] AH00455: Apache/2.4.9 (Win32) OpenSSL/0.9.8y PHP/5.4.27 configured -- resuming normal operations
    [Sun Jun 01 13:30:41.726804 2014] [mpm_winnt:notice] [pid 5372:tid 328] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 11:15:11
    [Sun Jun 01 13:30:41.726804 2014] [core:notice] [pid 5372:tid 328] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
    [Sun Jun 01 13:30:41.729795 2014] [mpm_winnt:notice] [pid 5372:tid 328] AH00418: Parent: Created child process 3240
    [Sun Jun 01 13:30:42.337201 2014] [ssl:warn] [pid 3240:tid 328] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:30:42.628394 2014] [ssl:warn] [pid 3240:tid 328] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 13:30:42.672423 2014] [mpm_winnt:notice] [pid 3240:tid 328] AH00354: Child: Starting 150 worker threads.
    [Sun Jun 01 14:37:43.536507 2014] [ssl:warn] [pid 7544:tid 332] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 14:37:43.726633 2014] [core:warn] [pid 7544:tid 332] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Sun Jun 01 14:37:44.143914 2014] [ssl:warn] [pid 7544:tid 332] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 14:37:44.239979 2014] [mpm_winnt:notice] [pid 7544:tid 332] AH00455: Apache/2.4.9 (Win32) OpenSSL/0.9.8y PHP/5.4.27 configured -- resuming normal operations
    [Sun Jun 01 14:37:44.239979 2014] [mpm_winnt:notice] [pid 7544:tid 332] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 11:15:11
    [Sun Jun 01 14:37:44.239979 2014] [core:notice] [pid 7544:tid 332] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
    [Sun Jun 01 14:37:44.246979 2014] [mpm_winnt:notice] [pid 7544:tid 332] AH00418: Parent: Created child process 5380
    [Sun Jun 01 14:37:45.502817 2014] [ssl:warn] [pid 5380:tid 332] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 14:37:46.113224 2014] [ssl:warn] [pid 5380:tid 332] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Jun 01 14:37:46.216294 2014] [mpm_winnt:notice] [pid 5380:tid 332] AH00354: Child: Starting 150 worker threads.


Any suggestions as to what I should do?
katstar01
 
Posts: 1
Joined: 01. June 2014 20:45
Operating System: Windows 8

Re: 404 error

Postby Nobbie » 01. June 2014 21:13

katstar01 wrote:when I try to access my site by using http://localhost/htdocs/sitename I keep getting a 404 error


Das ist auch logisch, weil im DocumentRoot schon der htdocs Ordner enthalten ist. Wenn Du dann nochmal htdocs angibt, ist das doppelt gemoppelt.


katstar01 wrote:Any suggestions as to what I should do?


Jede Menge:

a) meinen Tipp von oben umsetzen

b) nicht auf Englisch im deutschen Forum schreiben

oder

c) Deutsch lernen

d) Apache Dokumentation lesen und verstehen, was DocumentRoot bedeutet
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 30 guests