Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter on Dreamhost
#4

[eluser]Unknown[/eluser]
I had some trouble initially setting it up on dreamhost. You should probably move your server to php5 in prep for CI 2.0 anyway. My current setup uses php5. I use mod-rewrite to remove the index.php. It took a while to get the right rewrite rule. When doing that you need to make sure to remove the 'index.php' from the index_page variable in config.php. The .htaccess I use is as follows:
Code:
RewriteEngine on

## Route everything through /index.php except for the pages in the following expression  - note '.' are escaped '\.' ##
RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /index.php?$1 [L,QSA]


Messages In This Thread
CodeIgniter on Dreamhost - by El Forum - 04-06-2010, 06:14 AM
CodeIgniter on Dreamhost - by El Forum - 04-06-2010, 06:38 AM
CodeIgniter on Dreamhost - by El Forum - 04-06-2010, 08:21 AM
CodeIgniter on Dreamhost - by El Forum - 04-06-2010, 09:57 AM
CodeIgniter on Dreamhost - by El Forum - 04-15-2010, 02:34 AM
CodeIgniter on Dreamhost - by El Forum - 04-15-2010, 07:01 AM
CodeIgniter on Dreamhost - by El Forum - 07-16-2010, 03:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB