Hosts:
- Code: Select all
127.0.0.1 localhost
127.0.0.1 xampp
127.0.0.1 wow-macros
Vhost Teil der Httpd.conf:
- Code: Select all
# **************************************************************
#
# Virtual Hosts Settings
#
# **************************************************************
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:/xampp/xampp/htdocs
ServerName xampp
<Directory C:/xampp/xampp/htdocs>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot C:/www/www
ServerName localhost
<Directory C:/www/www>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
Wenn ich http://xampp aufrufe, klappt das wunderbar, das Xampp verzeichnis wird aufgerufen und Fehlerfrei angezeigt...
Rufe ich jedoch http://localhost auf, erhalte ich folgende fehlermeldung:
Umleitungsfehler: Die aufgerufene Website leitet die Anfrage so um, dass sie nie beendet werden kann.
Inhalt der index.php von c:/www/www
- Code: Select all
<?php
if($p == "") header("Location: ../?p=main");
include("./inc/default.inc.php");
include("../gethost.php");
include("./inc/getmod.inc.php");
// header
include("./php/_header.php");
include("./php/_menu.php");
if (file_exists("./php/".basename("$_GET[p].php")))
{
include("./php/".basename("$_GET[p].php"));
}
else
{
include("./php/notfound.php");
}
include("./php/_footer.php");
include("../page_menu.php");
?>
Bei der letzen Installierten Version von Xampp lief alles noch wunderbar
Ich bin am verzweifeln, weil ich seh keine Fehler mehr..
Bin für jede Hilfe dankbar!
Danke und gruss
Simon