Ich habe mir gerade meinen Apache Server neuaufgesetzt und und bin gerade dabei dir httpd.conf zu "erstellen"
Apache 2.2.6
O/S: MS Windoof XP Home SP2
Broser: Firefox
Hier erst mal meine httpd.conf:
- Code: Select all
#Globale Umgebung
ServerRoot "D:/Webserver/Apache Server/"
#Hauptserverkonfiguration
ServerName localhost
Listen 80
DocumentRoot "D:/Webserver/Apache Server/htdocs"
#Module
LoadModule mime_module modules/mod_mime.so
LoadModule dir_module modules/mod_dir.so
#Module Directive
DirectoryIndex index.html index.htm INDEX.HTML INDEX.HTM Index.html
Wenn ich in meine Add. Zeile http://localhost eingebe komme ich auf meine index.html und alles wird PERFEKT (so wie im Fehrnsehr in der Werbung ) angezeigt. Wenn ich allerdings den genauen Pfad (http://localhost/index.html) angebe bekomme ich meinen Quellcode auf dem Bildschirm angezeigt.
Ich denke, dass das Module mod_mime nicht richtig arbeitet.
Seht ihr vlt. den Fehler welcher dazu führt das ich nur den Quellcode bekomme? Ich meinen Logs steht auch nix besonders. Nur das hier:
- Code: Select all
[Sat Oct 27 15:43:35 2007] [notice] Apache/2.2.6 (Win32) configured -- resuming normal operations
[Sat Oct 27 15:43:35 2007] [notice] Server built: Sep 5 2007 08:58:56
[Sat Oct 27 15:43:35 2007] [notice] Parent: Created child process 3860
[Sat Oct 27 15:43:35 2007] [notice] Child 3860: Child process is running
[Sat Oct 27 15:43:35 2007] [notice] Child 3860: Acquired the start mutex.
[Sat Oct 27 15:43:35 2007] [notice] Child 3860: Starting 64 worker threads.
[Sat Oct 27 15:43:35 2007] [notice] Child 3860: Starting thread to listen on port 80.
Ich hoffe ihr könnt mir helfen, Ich danke euch im vorraus!
mfg TDF