Topic: file extension .inc to inc.php
If all the *.inc files are renamed to be *.inc.php and the code altered to use such extensions, then the inability to use the .htaccess file would not be a security issue.
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → FA Modifications → file extension .inc to inc.php
If all the *.inc files are renamed to be *.inc.php and the code altered to use such extensions, then the inability to use the .htaccess file would not be a security issue.
I'm not sure what problem you have encountered, but anyway we cannot make such a naming change.
*.inc are library files which should never be considered as executable by www server. Renaming them to *.php will make them vulnerable to RFI attack. Another countermeasure would require including ugly security check in every file (like the one at the top of language.php file).
Janusz
Makes sense. Except that .htaccess files were being maliciously overwritten and the *.inc files got exposed on the browser. Now incorporated the contents of the .htaccess file into the main apache conf file itself and removed the .htaccess file in Debian Squeeze to work as expected.
Thanks. Wikied the info.
FrontAccounting forum → FA Modifications → file extension .inc to inc.php
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.