You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
World Wide Web Server edited this page Jul 4, 2012
·
13 revisions
Hello Guys,
I don’t know whether its the right place to post this, but wanted to share this to those newbies who face problem in hosting CI in dreamhost and can’t make the .htaccess work. Here goes the quick steps to follow for solving that:
Open system/application/config/config.php
Set
$config['index_page'] = "";
Set
$config['uri_protocol'] = "REQUEST_URI";
Add this .htaccess file to your server root (or in the folder where your files are located). Be sure to change the RewriteBase to match your folder location:
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
Thats it! Now enjoy CI in peace.
Regards,
Md Emran Hasan
Co-founder & CTO
Right Brain Solution