Web Server Security Kodekloud



At first login to your desired server mentioned in the question

ssh [email protected]

sudo su

Then edit the httpd conf file

vi /etc/httpd/conf/httpd.conf

Add the two lines

ServerTokens Prod
ServerSignature Off

Then search for FolloSymlinks and remove the Indexes. The final settings will be

Options FollowSymLinks

Finally start httpd and check status

systemctl start httpd

systemctl status httpd

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment


Post a Comment