500 Internal Server Error |
[eluser]rash[/eluser]
Hello all, There is a problem in site Code: Internal Server Error My project is in mvc format. After getting this error i am checking my .htaccess file where the code is: Code: RewriteEngine On Thanks in advance
[eluser]InsiteFX[/eluser]
Try this one: Code: <IfModule mod_rewrite.c>
[eluser]CroNiX[/eluser]
What are you trying to accomplish with this? Code: RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] That isn't a URL that CI would understand. It doesn't use query strings by default, and if you do enable them the best I can tell that is not the correct format it expects. (?url=xyz) From /application/config/config.php Code: /*
[eluser]rash[/eluser]
Hello PM InsiteFX, I am trying your code in htaccess file, in Firefox browser it shows: Code: The page isn;t redirect properly And in Chrome browser it shows: Code: This webpage has a redirect loop I am not getting why this come. need any change in your code????
[eluser]rash[/eluser]
Hello PM CroNiX After adding your code in htaccess file the same result displayed... Please give me some other way.... Thanks
[eluser]InsiteFX[/eluser]
Then you have something else wrong in your code, because I use that .htaccess file all the time with no problems. The .htaccess file is from FuelPHP and I use it for both FuelPHP and CodeIgniter because it works. Check your base_url etc in ./application/config.php
[eluser]rash[/eluser]
Hello PM InsiteFX But i am not getting that where i m wrong.... in my config file the code is; Code: <?php These codes are written then where i am wrong???...please tell me..
[eluser]rash[/eluser]
Which module are supported to mvc format... My server is not CGI-Module...is there some problem for this... plz somebody help me..
[eluser]InsiteFX[/eluser]
Are you sure that your server is running php5 ? If Chrome is saying that this page has a redirect loop then you probably do check your code, I use Chrome and all the other browsers for testing.
[eluser]rash[/eluser]
Hello PM InsiteFX Yes i am working on php5. You can check also Legit site my config file is k, my controller is k, then where is the problem... i have no knowledge in .htaccess. please give some idea to save from the error. |
Welcome Guest, Not a member yet? Register Sign In |