habe 2 locale domains zB.
- myweb
- mysite
so habe ein paar Lösungen gefunden leider klappts noch nicht ganz.
habe in meine hosts datei (C:\windows\system32\drivers\etc\) volgendes eingetragen:
- Code: Select all
127.0.0.1 myweb
127.0.0.1 mysite
und bei Apatche in der httpd-vhost.conf (C\xampp\apatche\conf\extra)
- Code: Select all
<VirtualHost *:80>
ServerName myweb
DocumentRoot C:\myweb
<Directory C:\myweb>
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName mysite
DocumentRoot C:\mysite
<Directory C:\mysite>
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
habe mir 2 ordner angelegt:
- C:\myweb
- C:\mysite
in den ordnern habe ich jeweils 1 .html datei (web.html (in c:\myweb) und site.html (in c:\mysite)
das Problem ist nun
wenn ich die http://myweb aufrufe kommt ne auflistung wie man sie unter xampp apatche kennt und dort sehe ich dann die:
- web.html
wenn ich die http://mysite aufrufe sehe ich auch die
- web.html [COLOR="Red"](anstatt site.html)[/COLOR]
wenn jemand weis wie ich es anstellen soll das unter http://mysite die site.html angezeigt wird dann bitte postet hier rein. :thumbsup: :thumbsup: :thumbsup: :thumbsup:
MFG Aeonsam