sysconfig.d/*.conf
Conguration les automatically generated from /etc/sysconfig/apache2.
Do not change any of these les—edit /etc/sysconfig/apache2 instead.
Do not put other conguration les in this directory.
uid.conf
Species under which user and group ID Apache runs. Do not change.
vhosts.d/*.conf
Your virtual host conguration should go here. The directory contains template
les for virtual hosts with and without SSL. Every le in this directory ending in
.conf is automatically included in the Apache conguration. Refer to Section
“Virtual Host Conguration” (page 449) for details.
28.2.2 Conguring Apache Manually
Conguring Apache manually involves editing plain text conguration les as the user
root.
Virtual Host Conguration
The term virtual host refers to Apache's ability to serve multiple URIs (universal resource
identiers) from the same physical machine. This means that several domains, such as
www.example.com and www.example.net, are run by a single Web server on one
physical machine.
It is common practice to use virtual hosts to save administrative effort (only a single
Web server needs to be maintained) and hardware expenses (each domain does not re-
quire a dedicated server). Virtual hosts can be name based, IP based, or port based.
To list all existing virtual hosts, use the command httpd2 -S. This outputs a list
showing the default server and all virtual hosts together with their IP addresses and
listening ports. Furthermore, the list also contains an entry for each virtual host showing
its location in the conguration les.
Virtual hosts can be congured via YaST as described in Section “Virtual Hosts”
(page 457) or by manually editing a conguration le. By default, Apache in openSUSE
is prepared for one conguration le per virtual host in /etc/apache2/vhosts
The Apache HTTP Server 449