httpd-users-de mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex <puertor...@gmx.net>
Subject mehrere virtuelle hosts
Date Mon, 03 Feb 2003 15:35:32 GMT
Hi Eric,

hier ein Auszug aus meiner httpd.conf.
Wenn ich die unterschiedlichen domaens jetzt aufrufen will sehe ich
lediglich die Apache Test Page.



### Section 3: Virtual Hosts
#
# VirtualHost: 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.0/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 *  


# Where do we put the lock and pif files?
LockFile "/var/lock/httpd.lock"
CoreDumpDirectory "/etc/httpd"

# Defaults for virtual hosts

# Log
#
# Virtual hosts
#

# Virtual host DOMAEN 1
<VirtualHost *>
 	DocumentRoot /var/www/html/DOMAEN 1


 	ServerName domaen1.net

</VirtualHost>

# Virtual host DOMAEN 2
<VirtualHost *>
 	DocumentRoot /var/www/html/DOMAEN 2 


 	ServerName domaen2.net

</VirtualHost>





    



--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------


Mime
View raw message