Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
/media/civicrm/upload//latest-version-cache.txt 0 2/14/14 8:14 PM PHP/5.3.28/media/civicrm/upload//latest-version-cache.txt 0 2/14/14 8:14 PM PHP/5.3.28/media/civicrm/upload//latest-version-cache.txt 0 2/14/14 8:14 PM PHP/5.3.28/media/civicrm/ConfigAndLog/CiviCRM.68195fa08526034ba3f485163397bafc.log 0 2/14/14 8:14 PM PHP/5.3.28
<Files "*"> Order allow,deny Deny from all</Files>
<Files ~ "\.(jpq|jpeg|png|gif)$"> order deny,allow allow from all</Files>
Path for storing the documents and images attached to the records of contacts (photos, resumes, contracts, etc.). These files are defined using custom fields of type "file".
If the web server is nginx, then you might add a configuration like this (untested - b/c I don't have nginx installed):Code: [Select] location ~ ^/sites/.*/files/civicrm/(ConfigAndLog|upload|templates_c) { deny all; }
location ~ ^/sites/.*/files/civicrm/(ConfigAndLog|upload|templates_c) { deny all; }
location ~ ^/sites/.*/files/civicrm/(ConfigAndLog|upload|templates_c|custom) { deny all; }
Is it not possible for the installation/upgrade script to install a structure that doesn't, by default, trigger security error messages?