index.php problem, i've searched on internet for hours and dont find solution |
[eluser]Berzacola[/eluser]
As the title describes, i've searched on internet for a solution to my problem, but , any of the solutions what i found works for me, so let me tell you my current scenario: i have this url: http://localhost/site/index.php/urah/archive i can access normaly , if i try to acess like this: http://localhost/site/urah/archive i meet one 404 error, so, what will be the solution!? my appache rewrite is working, i tested it with a test.php trying to get a $_GET param trough the rewrite, and it works. i realy dont know what to do, i've tryed all the solution i saw, including the wiki's one. regards.
[eluser]alexwenzel[/eluser]
Try this: First, try this .htacces: Code: <IfModule mod_rewrite.c> Then goto your config.php and empty the following array: Code: $config['index_page'] = '';
[eluser]tpetrone[/eluser]
It's in the user guide. http://ellislab.com/codeigniter/user-gui.../urls.html
[eluser]Berzacola[/eluser]
The problem persists... i will upload it to my server and try from there, you thing it can change something?!
[eluser]Berzacola[/eluser]
Problem solved !!!! ... i fell like an idiot, i was editing the .htaccess on the application folder, no the .htaccess on the main index.php folder
[eluser]alexwenzel[/eluser]
[quote author="Berzacola" date="1350089128"]The problem persists... i will upload it to my server and try from there, you thing it can change something?![/quote] I dont think so. I guess you have a mistake in your .htaccess. Can you post your .htaccess file? |
Welcome Guest, Not a member yet? Register Sign In |