chown nobody local/For Windows, right click on the above folder and select Permissions - Security and add give your webserver user permissions to write to the above directories.
/.htaccess (in Interact root) | Sets php flags 'register_globals' off and 'magic_quotes_gpc' off. Also enables short urls ('direct' file) and switches off directory browsing/indexing |
---|---|
/local/.htaccess | Denies all direct http access to uploaded files - all files are accessed securely via PHP |
/local/skins/.htaccess | Allows http access (except for php execution) to this folder - so that skins may include images |
<Directory "/home/httpd/interact"> AllowOverride None Options -Indexes <Files "direct"> ForceType application/x-httpd-php </Files> </Directory> ErrorDocument 404 /home/httpd/interact/direct.php <Directory "/home/httpd/interact/local"> order allow,deny deny from all </Directory> <Directory "/home/httpd/interact/local/skins"> order allow,deny allow from all AddType text/html .php .php3 </Directory>And check these settings are in your php.ini file:
register_globals = Off magic_quotes_gpc = Off