Required .htaccess directives

Starting from Saurus version 4.3.0 we have essentially reduced the usage of .htaccess files since they were not very welcome in lots of server environments. We made several enhancements to Saurus CMS  to achieve minimal use of .htaccess directives.
Note: Information on this page is correct for versions 4.3.0 and later, for older settings please refer to the appropriate Installation Guide.


Usage of .htaccess files may be prohibited by webserver configuration or by service provider's security policy. Depending on server environment rules you may have limited access to use some commands in the .htaccess files.

Saurus CMS uses .htaccess directives for following purposes:

  • securing upload directories, code libraries and templates

In case you are not allowed to use these directives byself, you should ask your system administrator or service provider to add them to your virtual host configuration.

Default .htaccess files in Full Installation package:

/ (website root)

DirectoryIndex index.php index.html


public/

<Files *>
 SetHandler default-handler
</Files>

 

shared/
classes/
classes/smarty/templates/

deny from all

Note: Our webhosting partners Zone, Elion, Intra and Elkdata have included all necessary configuration to the Saurus CMS package automatically, just let the service provider know that you are using Saurus CMS in your site. These hosts may not allow changes in Apache server configuration via .htaccess files so you must delete all .htaccess files before running install.php.

Installation

System requirements / Linux installation (using shell) / Installation using FTP / Windows installation / Windows installation with a previously installed web server / Required PHP settings / Required .htaccess directives / Installation troubleshooting / Configuring Alias module / Configuring Alias module using .htaccess directives / Version upgrade in Linux (using shell) / Version upgrade using FTP / Version upgrade in Windows / How to copy your Saurus CMS website