httpd-vhosts.conf

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

httpd-vhosts.conf

Postby ShuffleRiku » 23. June 2010 01:31

Hallo

Ich habe ein Problem
wen ich die so lasse wie sie ist

#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
##ServerAdmin postmaster@dummy-host.localhost
##DocumentRoot "C:/xampp/htdocs/dummy-host.localhost"
##ServerName dummy-host.localhost
##ServerAlias http://www.dummy-host.localhost
##ErrorLog "logs/dummy-host.localhost-error.log"
##CustomLog "logs/dummy-host.localhost-access.log" combined
##</VirtualHost>

##<VirtualHost *:80>
##ServerAdmin postmaster@dummy-host2.localhost
##DocumentRoot "C:/xampp/htdocs/dummy-host2.localhost"
##ServerName dummy-host2.localhost
##ServerAlias http://www.dummy-host2.localhost
##ErrorLog "logs/dummy-host2.localhost-error.log"
##CustomLog "logs/dummy-host2.localhost-access.log" combined
##</VirtualHost>


ist alles wunder bar alles ist bei apache aktiviert

aber wen ich jetzt weil ich habe 3 Domains

das mache

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /xampp/htdocs/games/eg
ServerName domain-name
ServerAlias http://www.domain-name.de
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /xampp/htdocs/forum/tf.de
ServerName domain-name2
ServerAlias http://www.domain-name2.de
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /xampp/htdocs
ServerName localhost
</VirtualHost>


ist alles aus deaktiviert außer HTTPS (SSL)

will ich habe gelassen ihre http://community.apachefriends.org/f/viewtopic.php?f=4&t=32132

und dann ging das mit den Domains aber jetzt ist immer alles im apache Status deaktiviert außer HTTPS (SSL)

danke für hilfe hin vor raus
ShuffleRiku
 
Posts: 2
Joined: 21. June 2010 11:45

Re: httpd-vhosts.conf

Postby Nobbie » 23. June 2010 09:57

Standardfrage (und immer erst dort nachschauen - und danach hier fragen!): Was steht im error_log?
Nobbie
 
Posts: 8761
Joined: 09. March 2008 13:04


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 14 guests