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

[eluser]manilodisan[/eluser]
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.
#2

[eluser]Rick Jolly[/eluser]
Could be that you're redirecting to the root directory in your htaccess. See below:
Code:
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?
#3

[eluser]manilodisan[/eluser]
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.
#4

[eluser]manilodisan[/eluser]
If Iuse the .htaccess I get another error: No input file specified/.
#5

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




Theme © iAndrew 2016 - Forum software by © MyBB