Welcome Guest, Not a member yet? Register   Sign In
URI segments issues on new host?
#5

[eluser]jedd[/eluser]
[quote author="industrial" date="1261022316"]
I have tried several different htaccess files, and all different URI protocols.
[/quote]

Show - and describe results - rather than assure.

Quote: ( for clarification: http://www.mywebsite.com/codeigniter/ind...ler/value/)

Don't you mean:
http://www.mywebsite.com/codeigniter/ind...ontroller/method/value


Quote:The default htaccess does not make any difference:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

That .htaccess will redirect you to the web root - whereas your URL seems to imply that you have /codeigniter (ie, you're not at web root). So you'd want to change that last line to:
Code:
RewriteRule ^(.*)$ /codeigniter/index.php/$1 [L]
// or
RewriteRule ^(.*)$ ./index.php/$1 [L]

Crank up your web server's log files to see what pages are being loaded (or failing to be found).

You can also crank up the error logging with CI.


Messages In This Thread
URI segments issues on new host? - by El Forum - 12-16-2009, 03:58 PM
URI segments issues on new host? - by El Forum - 12-16-2009, 04:03 PM
URI segments issues on new host? - by El Forum - 12-16-2009, 04:05 PM
URI segments issues on new host? - by El Forum - 12-16-2009, 04:19 PM
URI segments issues on new host? - by El Forum - 12-16-2009, 04:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB