Welcome Guest, Not a member yet? Register   Sign In
Dev App on live server
#7

[eluser]bretticus[/eluser]
[quote author="karstyn" date="1256326007"]Ben - I enabled mod_rewrite and that did seem to fix some issues. Now I think the problem is a missing .htaccess file. When I copy the full site to my local computer I don't have an .htaccess file, but I do notice that on the live site the /index.php is not a part of the URL's. If I understand correctly that change happens in the .htaccess file? I have seen a what goes in that file somewhere, but now can't find where I saw it! Any pointers as to what goes in the .htaccess file?

rogierb - I had enabled short_tags earlier, which did get me closer!

Thanks guys![/quote]

Keep in mind that the purpose of the .htaccess file in apache is for making apache configuration changes when you do not have administrative access to the apache configuration files. That said, it's very possible that there is no .htaccess file on the live site. The rewrite settings may be part of the apache configuration stowed away where you can't read them. However, most rewrite settings are pretty basic for CI. That is, they rewrite all the URLS to point to index.php. So you should be able to emulate this behavior in your test environment. See the wiki for .htaccess configuration.


Messages In This Thread
Dev App on live server - by El Forum - 10-22-2009, 08:45 AM
Dev App on live server - by El Forum - 10-22-2009, 11:20 AM
Dev App on live server - by El Forum - 10-23-2009, 12:27 AM
Dev App on live server - by El Forum - 10-23-2009, 08:26 AM
Dev App on live server - by El Forum - 10-23-2009, 08:41 AM
Dev App on live server - by El Forum - 10-23-2009, 08:51 AM
Dev App on live server - by El Forum - 10-23-2009, 08:58 AM
Dev App on live server - by El Forum - 10-23-2009, 09:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB