"localhost/htdocs/*" fehler 404

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

"localhost/htdocs/*" fehler 404

Postby gesterngingsnoch » 07. October 2015 17:28

Hallo,

soweit scheint mit der Installation alles ok zu sein. Ich kann aber keine Seiten im Browser aufrufen, außer der Admin-Seite.

Errorlog:

[Wed Oct 07 18:19:07.181780 2015] [ssl:warn] [pid 5924:tid 380] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 18:19:07.259907 2015] [core:warn] [pid 5924:tid 380] AH00098: pid file P:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 07 18:19:07.353650 2015] [ssl:warn] [pid 5924:tid 380] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 18:19:07.400525 2015] [mpm_winnt:notice] [pid 5924:tid 380] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.12 configured -- resuming normal operations
[Wed Oct 07 18:19:07.400525 2015] [mpm_winnt:notice] [pid 5924:tid 380] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Wed Oct 07 18:19:07.400525 2015] [core:notice] [pid 5924:tid 380] AH00094: Command line: 'p:\\xampp\\apache\\bin\\httpd.exe -d P:/xampp/apache'
[Wed Oct 07 18:19:07.400525 2015] [mpm_winnt:notice] [pid 5924:tid 380] AH00418: Parent: Created child process 2712
[Wed Oct 07 18:19:07.806775 2015] [ssl:warn] [pid 2712:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 18:19:07.994280 2015] [ssl:warn] [pid 2712:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 07 18:19:08.025530 2015] [mpm_winnt:notice] [pid 2712:tid 392] AH00354: Child: Starting 150 worker threads.


acceslog:
::1 - - [07/Oct/2015:18:21:13 +0200] "GET /htdocs/gadiv/ HTTP/1.1" 404 1180 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0"


Kann da jemand etwas mit anfangen?

Danke und Gruß
gesterngingsnoch
 
Posts: 5
Joined: 16. September 2015 16:07
Operating System: Win 8.1

Re: "localhost/htdocs/*" fehler 404

Postby Nobbie » 07. October 2015 17:31

Leider ist Deine Beschreibung sehr unvollständig, aber ich entnehme der Apache Fehlermeldung, dass Du wahrscheinlich http://localhost/htdocs/gadiv eingibst, was falsch ist. "htdocs" ist bereits Bestandteil von DocumentRoot (bitte Dokumentation lesen!), deswegen wird es nicht in der URL angegeben.

Wahrscheinlich führt http://localhost/gadiv zum Erfolg. Bitte lies unbedingt ein paar EInsteigertutorials über Apache, denn das ist absolutes Basiswissen.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: "localhost/htdocs/*" fehler 404

Postby gesterngingsnoch » 07. October 2015 17:58

Nobbie wrote:Wahrscheinlich führt http://localhost/gadiv zum Erfolg. Bitte lies unbedingt ein paar EInsteigertutorials über Apache, denn das ist absolutes Basiswissen.


Ja, jetzt funktioniert es. Ich habe die Tutorials gelesen und auch vorher versucht den Fehler selber zu beheben. Ich hatte nur etwas in den FAQ falsch verstanden und deshalb imm noch /htdocs/ eingefügt.

Vielen Dank!
gesterngingsnoch
 
Posts: 5
Joined: 16. September 2015 16:07
Operating System: Win 8.1

Re: "localhost/htdocs/*" fehler 404

Postby Nobbie » 07. October 2015 18:00

gesterngingsnoch wrote:Ja, jetzt funktioniert es. Ich habe die Tutorials gelesen und auch vorher versucht den Fehler selber zu beheben.


In welchem Tutorial steht "htdocs" als Bestandteil der URL?
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: "localhost/htdocs/*" fehler 404

Postby gesterngingsnoch » 07. October 2015 18:09

Nobbie wrote:In welchem Tutorial steht "htdocs" als Bestandteil der URL?


In keinem. Ich sag ja, ich habs falsch verstanden, bzw. überlesen und aus der Anleitung unten, eine Mischen aus Pfad und Url gemacht.

Where should I place my web content?

The main directory for all WWW documents is \xampp\htdocs. If you put a file "test.html" in this directory, you can access it with the URI "http://localhost/test.html".

And "test.php"? Just use "http://localhost/test.php". A simple testscript can be: ...
A new subdirectory for your web? Just make a new directory (e.g. "new") inside the directory "\xampp\htdocs" (best without whitespaces and only ASCII), create a test file in this directory and access it with "http://localhost/new/test.php".

Further specifics

HTML:
Executable: \xampp\htdocs
Allowed endings: .html .htm
=> basic package ...
gesterngingsnoch
 
Posts: 5
Joined: 16. September 2015 16:07
Operating System: Win 8.1

Re: "localhost/htdocs/*" fehler 404

Postby Nobbie » 07. October 2015 18:38

gesterngingsnoch wrote: The main directory for all WWW documents is \xampp\htdocs. If you put a file "test.html" in this directory, you can access it with the URI "http://localhost/test.html".

And "test.php"? Just use "http://localhost/test.php". A simple testscript can be: ...


...
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 64 guests