goFrendiAsgard / No-CMS

No-CMS, A CodeIgniter Based CMS Framework
299 stars 199 forks source link

Install Problem using CGI/SuExec and Rewrite #57

Closed Xavjer closed 10 years ago

Xavjer commented 11 years ago

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)

goFrendiAsgard commented 11 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.

goFrendiAsgard commented 10 years ago

I've put a warning on installation in case of fail to detect htaccess. Thanks