[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!