Operation Manual
Virtual Hosts
In this step, the wizard displays a list of already congured virtual hosts (see Sec-
tion 20.2.2.1, “Virtual Host Conguration” (page 365)). If you have not made manual
changes prior to starting the YaST HTTP wizard, no virtual host is present.
To add a host, click Add to open a dialog in which to enter basic information about the
host, such as Server Name, Server Contents Root (DocumentRoot), and the Adminis-
trator E-Mail. Server Resolution is used to determine how a host is identied (name
based or IP based). Specify the name or IP address with Change Virtual Host ID
Clicking Next advances to the second part of the virtual host conguration dialog.
In part two of the virtual host conguration you can specify whether or not to enable
CGI scripts and which directory to use for these scripts. It is also possible to enable
SSL. If you do so, you must specify the path to the certicate as well. See Section 20.6.2,
“Conguring Apache with SSL” (page 395) for details on SSL and certicates. With
the Directory Index option, you can specify which le to display when the client requests
a directory (by default, index.html). Add one or more lenames (space-separated)
if you want to change this. With Enable Public HTML, the content of the users public
directories (~user/public_html/) is made available on the server under
http://www.example.com/~user.
IMPORTANT: Creating Virtual Hosts
It is not possible to add virtual hosts at will. If using name-based virtual hosts,
each hostname must be resolved on the network. If using IP-based virtual hosts,
you can assign only one host to each IP address available.
Summary
This is the nal step of the wizard. Here, determine how and when the Apache server
is started: when booting or manually. Also see a short summary of the conguration
made so far. If you are satised with your settings, click Finish to complete congura-
tion. If you want to change something, click Back until you have reached the desired
dialog. Clicking HTTP Server Expert Conguration opens the dialog described in
Section 20.2.3.2, “HTTP Server Conguration” (page 374).
The Apache HTTP Server 373










