Httpd Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:


==Post-Installation==
==Post-Installation==
==Prevent Access to the cgi-bin Script==
Specify <tt>Require all denied</tt> in:
<pre>
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Require all denied
</Directory>
</pre>


===Configure httpd to Start at Boot===
===Configure httpd to Start at Boot===

Revision as of 03:00, 10 January 2016

Internal

RHEL

Installation

yum install httpd

Post-Installation

Prevent Access to the cgi-bin Script

Specify Require all denied in:

<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Require all denied
</Directory>

Configure httpd to Start at Boot

systemctl enable httpd

Start and Smoke

Start the instance and make sure it starts fine with the default configuration.