flash menu
HWSW Famulus
hwsw at famulus.hu
Tue Feb 7 21:59:25 CET 2006
> Azert van erre a specialis menure szukseg, mert ket webcim mutat egy
> tarhelyre.
...es letezik a virtual host megoldas.
azaz tobb website lehet egy IP-en egymastol fuggetlenul is
Apache 1.3 eseten valami hasonlo....
lasd lentebb
De tudja az MS IIS is...
KJ
> Levente
### 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://www.apache.org/docs/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 *:80>
ServerAdmin webmaster at dummy-host.example.com
DocumentRoot c:/WEB/BIOPAN
ServerName www.biopan.hu
ErrorLog logs/biopan-error_log
CustomLog logs/biopan_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster at dummy-host.example.com
DocumentRoot c:/WEB/ASTRON
ServerName www.astron-watch.com
ErrorLog logs/wwwastron-error_log
CustomLog logs/wwwastron_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster at dummy-host.example.com
DocumentRoot c:/WEB/ASTRON
ServerName astron-watch.com
ErrorLog logs/astron-error_log
CustomLog logs/astron_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster at dummy-host.example.com
DocumentRoot c:/WEB/barotron
ServerName www.barotron.hu
ErrorLog logs/barotron-error_log
CustomLog logs/barotron_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster at dummy-host.example.com
DocumentRoot c:/WEB/ASTRONUJ
ServerName ujshop.astron-watch.com
ErrorLog logs/astronuj-error_log
CustomLog logs/astronuj_log common
</VirtualHost>
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#C:/WEB/ASTRON
#<VirtualHost *:80>
# ServerAdmin webmaster at dummy-host.example.com
# DocumentRoot /www/docs/barotron
# ServerName www.barotron.hu
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
More information about the Elektro
mailing list