Welcome Guest, Not a member yet? Register   Sign In
Installing in subdirectory, CI errors with no trailing slash
#1

[eluser]jtreminio[/eluser]
My folder setup:

/
/gal_list/
/gal_list/index.php
/gal_list/system/

If I go to:

http://websitename.com/gal_list/

The system seems to be working fine, the correct stuff pulls up.

However, if I go to:

http://websitename.com/gal_list (no trailing slash)
I get this:

Quote:404 Page Not Found

The page you requested was not found.

This is CI-formatted output, so I know it's actually spit out by the system and is not a standard 404 server error.

Any ideas?

My config.php file has:
Code:
$config['base_url'] = "http://websitename.com/gal_list/";

and my .htaccess is:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /gal_list/index.php/$1 [L]

Thanks for any help.
#2

[eluser]pistolPete[/eluser]
Try the different settings of
Code:
$config['uri_protocol']
#3

[eluser]jtreminio[/eluser]
[quote author="pistolPete" date="1236639282"]Try the different settings of
Code:
$config['uri_protocol']
[/quote]

Hi Buddy,

That works wonders, thanks a lot.




Theme © iAndrew 2016 - Forum software by © MyBB