nerdexam
Red_Hat

RH302 · Question #180

139: Configure the Apache webserver for station?.example.com (associated IP is your host IP address) by downloading the index.html from ftp://server1.example.com.

1. vi /etc/httpd/conf/httpd.conf <VirtualHost 192.168.0.?> ServerName station?.example.com DocumentRoot /var/www/station? DirectoryIndex index.html ServerAdmin [email protected] </VirtualHost> 2. Create the directory and index page on specified path. (Index page can…

Service management

Question

139: Configure the Apache webserver for station?.example.com (associated IP is your host IP address) by downloading the index.html from ftp://server1.example.com.

Explanation

  1. vi /etc/httpd/conf/httpd.conf <VirtualHost 192.168.0.?> ServerName station?.example.com DocumentRoot /var/www/station? DirectoryIndex index.html ServerAdmin [email protected] </VirtualHost>
  2. Create the directory and index page on specified path. (Index page can download from ftp://server1.example.com at exam time)
  3. service httpd start | restart
  4. chkconfig httpd on

Topics

#Apache#virtual host#httpd#web server

Community Discussion

No community discussion yet for this question.

Full RH302 Practice