CodeIgniter Forums
help with mod_rewrite - 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: help with mod_rewrite (/showthread.php?tid=7321)



help with mod_rewrite - El Forum - 04-03-2008

[eluser]dexter21[/eluser]
Hi, i've a virtual directory in a server:

http://date1.server1.com
localdir :/usr/dates1
codeigniter dir :/usr/dates1/codeig1

i've uploaded ci and config the config. file with the base_url

if i launch http://date1.server1.com/codeig1/ it load the default view that i've write in the routes files, but if i type http://date1.server1.com/codeig1/test.php i get and error that doesnt exist file.

i have a test.php controler that load the view test.php . so i think there is a problem with the mod_rewrite


any help plz?


help with mod_rewrite - El Forum - 04-03-2008

[eluser]Jamie Rumbelow[/eluser]
You need to access your controller from:

/codeig1/index.php/test

No problem with mod_rewrite. Try reading this http://ellislab.com/codeigniter/user-guide/general/urls.html


help with mod_rewrite - El Forum - 04-04-2008

[eluser]dexter21[/eluser]
many thanks jemgames, at least i continue working until problem with mod_rewrite will be fixed.