Welcome Guest, Not a member yet? Register   Sign In
DreamHost and CodeIgniter htaccess problem
#1

[eluser]Unknown[/eluser]

I have a CodeIgniter application which is successfully deployed on localhost and justhost without any errors. Now, I need to migrate to DreamHost and place it in the subdirectory: http://mywebsite.com/code_igniter_root/ Now the applications give me the "No input file specified" error with this old htaccess file :

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

When I change to this by adding the question mark after the RewriteRule index.php, it works:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

However, there is a problem that I cannot receive the post data anymore via $_POST and $this->input->post();

What is the solution for this problem? DreamHost is really annoying...


Messages In This Thread
DreamHost and CodeIgniter htaccess problem - by El Forum - 11-27-2012, 08:05 PM
DreamHost and CodeIgniter htaccess problem - by El Forum - 11-28-2012, 07:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB