Godaddy htaccess Internal Server Error |
[eluser]onikage997[/eluser]
hi all, On my previous hosting, my CI website was working fine with a htaccess of: Code: RewriteEngine on Recently I transfered to goDaddy, and I'm having this Internval Server Error Problem. I've already tried some of their solutions like making the htaccess to 644 and also there are no error logs showing. I've also done adding RewriteBase / but it only produce "Oops! This link appears to be broken." in Chrome and "No input file specified." in Mozilla. can someone help me with this problem? Many Thanks
[eluser]toopay[/eluser]
Try this. Code: RewriteEngine On
[eluser]onikage997[/eluser]
@toopay hi, thanks for the reply. You partially fix the problem. Index is now ok with the images/css/ working ok , problems are the other page as it shows 404. Hey..., Atleast its 404 and not internal server error so.. ![]() Where can I fix things for this 404? Routes.php? Here's a sample route in my site: Code: $route['benefits-of-.+.html'] = "benefits/title"; any suggestions? Many Thanks for the reply..
[eluser]toopay[/eluser]
Are you set config in './application/config/config.php' properly for remove index.php? And is it 404 apache or 404 CI?
[eluser]onikage997[/eluser]
Its 404 CI. Actually I've changed the name and directory of my application folder but it was working in my previous hosting..
[eluser]toopay[/eluser]
Show your config on './application/config/config.php'.
[eluser]onikage997[/eluser]
I haven't done any big changes here in config.php, just this few lines below: Code: //$config['base_url'] = "http://www.my-domain.com/";
[eluser]toopay[/eluser]
Based by your routes config above, is there any different, between access 'http://www.my-domain.com/benefits/title' and 'http://www.my-domain.com/index.php/benefits/title' or 'http://www.my-domain.com/index.php?/benefits/title'
[eluser]onikage997[/eluser]
The design was to make http://www.my-domain.com/index.php?/bene...thing.html into http://www.my-domain.com/benefits-of-something.html
[eluser]toopay[/eluser]
I know, how routes work. I just want to bypass it, for debug. I mean, lets access the original uri first, because i think routes is not an issue here. As you said above, index is ok, but another page generates CI 404, which mean something wrong, either in your config or .htaccess. What i mean, as i stated above, is there any different, between access ‘http://www.my-domain.com/benefits/title’ and ‘http://www.my-domain.com/index.php/benefits/title’ or ‘http://www.my-domain.com/index.php?/benefits/title’ at your browser. Are they generates same result? |
Welcome Guest, Not a member yet? Register Sign In |