Welcome Guest, Not a member yet? Register   Sign In
URGENT! Installation in folders

I've done a basic installation on one of my cleint's ftp on a subfolder, not on the root folder and the app. shows a 404. Why? The default controller is not found.

[eluser]Rick Jolly[/eluser]
Could be that you're redirecting to the root directory in your htaccess. See below:
RewriteEngine On
# do you have RewriteBase set to a subdir or is the subdir prefixing the index.php/$1?
RewriteBase /your_subdirectory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$  index.php/$1 [L]

What is your base_url set to?

That's the problem. I don't use a htaccess and this is not isolated. Another client had to purchase a domain for this installation because the subfolder was giving a 404.

If Iuse the .htaccess I get another error: No input file specified/.

I had to change $config['uri_protocol'] = "AUTO"; to $config['uri_protocol'] = "REQUEST_URI";

Theme © iAndrew 2016 - Forum software by © MyBB