Welcome Guest, Not a member yet? Register   Sign In
"Resource interpreted as stylesheet but transferred with MIME type text/html"
#8

[eluser]Kenneth Allen[/eluser]
[quote author="TheFuzzy0ne" date="1246137106"]I don't think you're htaccess will work as expected. You shouldn't need to specify a directory, since the htaccess file should be in the root of that directory anyway.[/quote]
My CI application is actually in a folder within an existing site. On my development system the UIR is "d2.test", and I access my CI application with "d2.test/SMaLL" and the admin controller with "d2.test/SMaLL/admin", which works fine thanks to the htaccess file in the SMaLL folder.

But if one of the controller steps executes a call such as redirect('admin'), the resulting URI is "d2.test/SMaLL/index.php/admin" instead of the preferred "d2.test/SMaLL/admin". How do I convince the redirect() calls to also omit the "index.php/" part of the URI, since it is not required?


Messages In This Thread
"Resource interpreted as stylesheet but transferred with MIME type text/html" - by El Forum - 06-27-2009, 10:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB