Apache 2.4

4 posts by 3 authors in: Forums > CMS Builder
Last Post: December 27, 2023   (RSS)

By jenolan - December 23, 2023 - edited: December 23, 2023

The base .htaccess file needs to be amended slightly near line 29  the filesmatch 

  # Security: Deny access to common configuration and data files
  # eg: .htaccess, php.ini, .user.ini, php_errors.log, php_errors.log.php, backup.sql, settings.dat.php, file.defaultSqlData.php, backup.sql, etc
  <IfModule !mod_authz_core.c>
    <FilesMatch "\.(htaccess|ini|log|dat|defaultSqlData|sql)(\.php)?$">
      Order Deny,Allow
      Deny from All
    </FilesMatch>
  </IfModule>
  <IfModule mod_authz_core.c>
    <FilesMatch "\.(htaccess|ini|log|dat|defaultSqlData|sql)(\.php)?$">
      Require all denied
    </FilesMatch>
  </IfModule>
---



Peace and Long Life

Will have a look, I only did the 'fix' so that the htaccess would work ;-)

---



Peace and Long Life

By Dave - December 27, 2023

Hi Guys, 

Thanks for the Apache fix and code streamlining.  That's great, and we'll include both in the next beta.

Cheers! 

Dave Edis - Senior Developer
interactivetools.com