Author Topic: Accessing server by IP  (Read 6473 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Accessing server by IP
« on: April 18, 2017, 09:34:39 PM »

Not sure if this is related to enabling mod_security or not... is there a way to block or redirect when accessing the server by IP? at the moment it displays the centos index.html.

Offline
*****
Re: Accessing server by IP
« Reply #1 on: April 19, 2017, 07:14:44 AM »
/usr/local/apache/htdocs set the dir permission to 000

Offline
*
Re: Accessing server by IP
« Reply #2 on: April 19, 2017, 02:11:56 PM »
Thank you sir!