Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual page 395

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - ADMINISTRATION:
Table of Contents

Advertisement

<Directory "/srv/www/www.example.com/htdocs">
Order allow,deny
Allow from all
</Directory>
The complete configuration file looks like this:
Example 27.4 Basic VirtualHost Configuration
<VirtualHost 192.168.3.100>
ServerName www.example.com;
DocumentRoot /srv/www/www.example.com/htdocs
ServerAdmin webmaster@example.com
ErrorLog /var/log/apache2/www.example.com_log
CustomLog /var/log/apache2/www.example.com-access_log common
<Directory "/srv/www/www.example.com/htdocs">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
27.2.2 Configuring Apache with YaST
To configure your Web server with YaST, start YaST and select Network Services >
HTTP Server. When starting the module for the first time, the HTTP Server Wizard
starts, prompting you to make a few basic decisions concerning administration of the
server. After having finished the wizard, the dialog in
ration"
(page 386) starts each time you call the HTTP Server module.
HTTP Server Wizard
The HTTP Server Wizard consists of five steps. In the last step of the dialog, you are
given the opportunity to enter the expert configuration mode to make even more specific
settings.
Network Device Selection
Here, specify the network interfaces and ports Apache uses to listen for incoming re-
quests. You can select any combination of existing network interfaces and their respec-
tive IP addresses. Ports from all three ranges (well-known ports, registered ports, and
dynamic or private ports) that are not reserved by other services can be used. The default
setting is to listen on all network interfaces (IP addresses) on port 80.
Section "HTTP Server Configu-
The Apache HTTP Server
381

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents