SyndeoCMS Content management system for primary schools

Content Management System for Primary Schools

General info arrowhtaccess
Friday, 18 August 2017
 
 

.htaccess


By placing a .htaccess file in the starnet/media and starnet/studenpages directories
you can prevent the execution of scripts inside the directory and all its sub-directories.

This excellent idee has been copied from and read te full story at:
http://codex.wordpress.org/htaccess_for_subdirectories

You can create a .htaccess file with the following :

<Files .htaccess>
order allow,deny
deny from all
</Files>
<FilesMatch "\.(php|pl|py|jsp|asp|sh|cgi)$">
ForceType text/plain
</FilesMatch>


Place it in both starnet/media and starnet/studenpages directories.

The first part prevents the file itself  from being read and the second part denies the execution of
files with the given extention.
If you want to test if you .htaccess file is working place a simple test php script in the media directory and goto www.yoursite.com/starnet/media/testscript.php.
Latest news
12-04-2014:
Version 3.2 released!
read more ...

15-07-2013:
Version 3.1.00 released!
read more ...

Professional editon
For SyndeoCMS Professional Edition please visit our strategic partners:
Schoolsunited
Schoolsunited

To see an overview of the differences between the Open- and the Professional version click Here.
 
Top! Top!