In this case, your server needs the RewriteBase option to be set. Open the .htaccess file in the main folder and add the following line to it:
RewriteBase /
The .htaccess should look like this:
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
If you have installed the application into a subfolder you need to add the subfolder name after the /
The .htaccess file should look like this in this case:
RewriteEngine On RewriteBase /your_sub_folder/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
On Dreamhost you have to amend the .htaccess. If you get a “No Input File” error.
The htaccess file should look like this:
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/?$1 [L]
If you get “no input file specified” error on goDaddy web host
you need to change the .htaccess as follows:
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] </IfModule>
This error means that your servers PHP version is not 5.3 or higher. Contact your web host in order to update your PHP version to 5.3 or higher.
If you get a 500 Error after the installation try the following as .htaccess
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|robots\.txt) RewriteRule ^(.*)$ /index.php?/$1 [L]
Another
Options +FollowSymLinks RewriteEngine on RewriteRule ^([a-z0-9_-]+)\.html$ index.php/page/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|asset|robots\.txt) RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
If you still have problems please open support and we will be glad to assist you as long your server passes the requirements.