Changes

Line 40: Line 40:  
Steps:
 
Steps:
   −
* Create .htaccess file and add the following content:  
+
* Install httpd web server:
 +
 
 +
  yum install httpd
 +
 
 +
* Enable configuration override with htaccess
 +
 
 +
  vim /etc/httpd/conf/httpd.conf
 +
 
 +
    <Directory "/var/www/html">
 +
                     
 +
    #                 
 +
    # Possible values for the Options directive are "None", "All",
 +
    # or any combination of:
 +
    #  Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
 +
    #                 
 +
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
 +
    # doesn't give it to you.
 +
    #                 
 +
    # The Options directive is both complicated and important.  Please see
 +
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
 +
    # for more information.
 +
    #                 
 +
    Options Indexes FollowSymLinks
 +
                     
 +
    #                 
 +
    # AllowOverride controls what directives may be placed in .htaccess files.
 +
    # It can be "All", "None", or any combination of the keywords:
 +
    #  Options FileInfo AuthConfig Limit
 +
    #                 
 +
    AllowOverride None                                                       
 +
                     
 +
    #                 
 +
    # Controls who can get stuff from this server.
 +
    #                 
 +
    Order allow,deny 
 +
    Allow from all   
 +
                     
 +
    </Directory>     
 +
 
 +
    Change AllowOverride None ==> AllowOverride All
 +
 
 +
* Create .htaccess file:
 +
 
 +
 
    
   AddType application/x-ns-proxy-autoconfig .pac
 
   AddType application/x-ns-proxy-autoconfig .pac