Closed Xavjer closed 10 years ago
Actually the installer will make htaccess as follow: https://github.com/goFrendiAsgard/No-CMS/blob/master/install/resources/htaccess.txt with {{ base_path }}
replaced with /
.
However, there are many users not as considerate as you. They will probably said that it is better to install No-CMS with index.php rather than messed up with some configuration.
I think it is better to find the more robust way to detect mod_rewrite.
I've put a warning on installation in case of fail to detect htaccess. Thanks
I have a server where rewrite is enabled, but I am using FCGID and SUEXEC, the function apache_get_modules is disabled and everything else also fails to check if rewrite is enabled, therefore your script said that i am unable to activate the hiding of the index.php ... i've overwritten this check and then installed it.
It didn't work at first, until I found out that I had to change the rewrite part a bit, as follows: (See http://takeitoffroad.blogspot.ch/2008/08/codeigniter-issues-with-htaccess-to.html for more information on why I made it like this)
http://goo.gl/twQf0
I suggest to not block the installation if the check fails, but inform the user that you were unable to detect if it is enabled and that it can be installed on your own risk)