- Mitglied seit
- 6 Aug 2006
- Beiträge
- 30
- Punkte für Reaktionen
- 0
- Punkte
- 6
Was hast Du denn für einen Webserver auf Deinem Notebook laufen?Was läuft denn mit dem vhost falsch, kann mir jemand hier bitte einen Rat geben?
vielen Dank,
LG
Falls es der Apache ist, hast Du dann auch die Datei "apache\conf\extra\httpd-vhosts.conf" entsprechend angepasst?
Da sind dann so Einträge wie
Code:
<VirtualHost *:80>
ServerAdmin webmaster@[B]server[/B]
DocumentRoot "\xampp\[B]server[/B]"
ServerName [B]server [/B] <================= Hier muss Dein gewählter Servername stehen!
ErrorLog logs/[B]server[/B]-error.log
CustomLog logs/[B]server[/B]-access.log common
</VirtualHost>
Code:
<Directory "/xampp/[B]server[/B]">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
# Options All
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
Viel Glück.