# Sandbox Engine # .HTACCESS commands #PHP settings for error reporting, should they be disabled - NB! Zone doesn't support those 2 lines. php_flag display_errors on php_value error_reporting E_ALL #Protecting .ht files Order allow,deny Deny from all #Setting natural directory index (just in case) DirectoryIndex index.php #Required for Rewrite Engine security, but should be removed if 505 errors appear Options +FollowSymlinks RewriteEngine On #redirecting css files to resource gate #RewriteCond %{REQUEST_FILENAME} (.*\.(css))$ #RewriteRule .* ./engine/sandbox-resource-gate.php #redirecting js files to resource gate #RewriteCond %{REQUEST_FILENAME} (.*\.(js))$ #RewriteRule .* ./engine/sandbox-resource-gate.php #redirecting tmp files to resource gate RewriteCond %{REQUEST_FILENAME} (.*\.(tmp))$ RewriteRule .* ./engine/sandbox-resource-gate.php #redirecting any file or directory that does not exist to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* ./index.php