remove index.php from url |
[eluser]dsi[/eluser]
i have ci 1.7.2 and i have taken my application folder outside the system folder. can anyone provide me the .htaccess code to remove the index.php from url. previously(upto earlier today) i was using this code Code: RewriteEngine On Quote:Internal Server Error can anyone provide me the working htaccess code, thank you
[eluser]mddd[/eluser]
I would think that this code is not going to work because this rule will call itself again. If you call /controller/method, it will be translated to /goshali/index.php/controller/method. But that will again be translated to /goshali/index.php/controller/method/controller/method. Etc. You should check in your rewrite rule if the address has not already been rewritten. You could add RewriteCond %{REQUEST_URI} !goshali/index\.php to your rule. This will check if the address has already been rewritten, so it doesn't go on rewriting.
[eluser]cahva[/eluser]
And if you get "Internal Server Error", do as the information says: check the server error log.
[eluser]Thorpe Obazee[/eluser]
Marvin_S, 391, maybe you should post your own problem in your own threads with more information regarding your specific problem?
[eluser]InsiteFX[/eluser]
You know I must see this same Question asked 100 times a week on these forums Unreal... Search is your friend........ InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |