× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Apache conf files and security

fondy
Tutor

Apache conf files and security

Hi Use OS 6.10.4 on a Readynas Pro2. Using the NAS for websites, installed Mysql, PHPAdmin, and PHP 7.4. The OS installed the Apache server

 

I see in my Apache Error log that there are many visitors from China, USA, etc that are trying to install harmfull software.

 

I use the standard apache2.conf that OS 6.10.4 installed

 

I am using this in my private conf file for my sites, here is an example:

 

DocumentRoot /xx/xx/xx/xx

ServerName xxxx.yyyy.com

ErrorLog ${APACHE_LOG_DIR}/error.log

CustomLog ${APACHE_LOG_DIR}/access.log combined

   <Directory "/xx/xx/xx/xx/">

      IndexOptions +FancyIndexing NameWidth=*

        Options Includes FollowSymLinks Indexes ExecCGI

        AllowOverride

        All Require all granted

   </Directory>
</VirtualHost>

 

Is there something I can put in the apache2.conf file for security?

 

In my Virtual host file, is there something I should correct, delete or change?

 

Regards Paal

Model: RNDP2220D|ReadyNAS Pro 2 4TB (2 x 2TB Desktop)
Message 1 of 3
fondy
Tutor

Re: Apache conf files and security

Have corrected, need no feedback on this
Model: RNDP2220D|ReadyNAS Pro 2 4TB (2 x 2TB Desktop)
Message 2 of 3
Sandshark
Sensei

Re: Apache conf files and security

It might help others with a similar problem that are searching the forum if you describe your fix.

Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 857 views
  • 1 kudo
  • 2 in conversation
Announcements