Apache 2.4

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

By jenolan - December 23 - edited: December 23

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>
---
<?= "Jenolan(Larry) :: Coding Since 1973" ?>
Peace and Long Life

By jenolan - December 26

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

---
<?= "Jenolan(Larry) :: Coding Since 1973" ?>
Peace and Long Life

By Dave - December 27

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