CodeIgniter Forums
Local Works but 500 Error on Server... how come? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Local Works but 500 Error on Server... how come? (/showthread.php?tid=53967)

Pages: 1 2


Local Works but 500 Error on Server... how come? - El Forum - 08-16-2012

[eluser]dhall[/eluser]
THAT'S IT!!!

I tried beta.example.com/index.php/about and it took me to my About page.
What I want is obviously beta.example.com/about

So where did I go wrong?
It will be something simple I know.


Local Works but 500 Error on Server... how come? - El Forum - 08-17-2012

[eluser]jotorres1[/eluser]
function should help
Code:
_remap()

Read about it here:

Remapping Function Calls



Local Works but 500 Error on Server... how come? - El Forum - 08-17-2012

[eluser]NeoArc[/eluser]
All your rewrite rules should look like this (without the first slash):

RewriteRule ^(.*)$ index.php?/$1 [L]

If it is not working, try this:

RewriteRule ^(.*)$ /beta.example/index.php?/$1 [L]