403 Forbidden for SEO friendly URLS?? |
[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.
[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.
[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. |
Welcome Guest, Not a member yet? Register Sign In |