403 Forbidden for SEO friendly URLS?? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: 403 Forbidden for SEO friendly URLS?? (/showthread.php?tid=3753) |
403 Forbidden for SEO friendly URLS?? - El Forum - 10-20-2007 [eluser]@li[/eluser] Hi, I uploaded my site to a test server that my client provided. The site is working on my localhost, but when I uploaded to the test server and clicked any URLs which should bring up a controller, it gave a '403 Forbidden' error. E.g if I click http://67.18.x.xxx/~test/login , then instead of bringing up Login controller, it gives the following error: Quote:Forbidden The site is uploaded to public_html folder. Here's the code I've put in the .htacces: Code: <IfModule mod_rewrite.c> Any ideas how to fix this? I do have Cpanel access to the server. 403 Forbidden for SEO friendly URLS?? - El Forum - 10-20-2007 [eluser]Jim OHalloran[/eluser] The first thing I'd check is that the Apache user (usually "apache", "www-data" or "nobody") has read access to your index.php file. I'd also see if a URL that doesn't rely on mod_rewrite works... e.g. http://67.18.x.xxx/~test/index.php/login Those couple of things will tell you whether it's a mod_rewrite specific issue or a problem with permissions on your scripts. Jim. 403 Forbidden for SEO friendly URLS?? - El Forum - 10-20-2007 [eluser]@li[/eluser] Thanks for the reply. I just told my client about the issue and he got me a new server where everything is working. |