Welcome Guest, Not a member yet? Register   Sign In
Do I need the mod_rewrite installed for routes to work?
#1

[eluser]chefnelone[/eluser]
hello

I uploaded a site to a remote server which has mod_rewrite not installed.
Of course the site is not redirecting properly.

The problem is that that module is not installed or could be something else??

thanks
#2

[eluser]WanWizard[/eluser]
No.

Just make sure that $config['index_page'] in your config.php says 'index.php', and make sure you're base_url is set correctly as well. If not, CI will generate incorrect links...
#3

[eluser]chefnelone[/eluser]
[quote author="WanWizard" date="1309467224"]No.

Just make sure that $config['index_page'] in your config.php says 'index.php', and make sure you're base_url is set correctly as well. If not, CI will generate incorrect links...[/quote]
You are right now it works fine... but know the url shows the .../index.php/....

Any chance to hide it in other way?
#4

[eluser]WanWizard[/eluser]
Yes, install mod_rewrite.

You can't just remove parts of the URL, you're webserver wouldn't have a clue what to load...




Theme © iAndrew 2016 - Forum software by © MyBB