Welcome Guest, Not a member yet? Register   Sign In
403 error on moving to new server
#1

[eluser]Unknown[/eluser]
I have a Codeigniter site that works fine on my local XAMPP server, but now I've moved it to shared hosting I get a 403 forbidden error when I click on any link. The homepage displays fine, but any page with a slug produces the 403 error. E.g.

Code:
http://123.456.789.0/~test/

works fine

Code:
http://123.456.789.0/~test/about-us

produces the 403 error, but weirdly this works:

Code:
http://123.456.789.0/~test/about-us/

My Base Url is set to

Code:
http://123.456.789.0/~test/

My .htaccess looks like this:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt|static)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

Any ideas on what's going on here much appreciated!


Messages In This Thread
403 error on moving to new server - by El Forum - 09-12-2013, 01:55 AM
403 error on moving to new server - by El Forum - 09-12-2013, 02:17 AM
403 error on moving to new server - by El Forum - 09-12-2013, 02:19 AM
403 error on moving to new server - by El Forum - 09-12-2013, 02:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB