Einzelnen Beitrag anzeigen

Benutzerbild von Matze
Matze
(Co-Admin)

Registriert seit: 7. Jul 2003
Ort: Schwabenländle
14.929 Beiträge
 
Turbo Delphi für Win32
 
#2

Re: XAMPP unter Windows XP

  Alt 18. Mär 2010, 23:07
Hallo,

"localhost" stimmt schon, aber der DocumentRoot ist falsch gesetzt, oder?
Ich weiß nicht genau, was du nun erreichen möchtest.

Du kannst in der \xampp\apache\conf\httpd.conf einstellen, auf welches Verzeichnis "localhost" verlinkt:

Code:
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
#DocumentRoot "/Programme/xampp/htdocs"
DocumentRoot "D:/Eigene Dateien/Websites"
Und verwende in deinem HTML-Code und der .htaccess lieber den Slash anstelle des Backslashes.

Oder du schaust dir mal Aliase an oder was es da sonst alles gibt.
Ich habe es bei mir gelöst wie soeben beschrieben und hatte damit nie Probleme.
  Mit Zitat antworten Zitat