Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter URLs, .htaccess and all that stuff
#4

[eluser]bastones[/eluser]
[quote author="mradlmaier" date="1226335637"]Hello,

My exact configuration looks like this now

CodeIgniter is in /home/michi/ci with /home/michi/ci/.htaccess
/home/michi/ci is aliased as /ci/ in apache2, so I access this via http://127.0.0.1/ci/

I have the rewrite stuff exactly like you posted and the config file, too.

I get a 403 Error access is forbidden for http://127.0.0.1/ci/blog , http://127.0.0.1/ci/index.php and http://127.0.0.1/ci/index.php/blog

If I remove the .htaccess and change the config file back, everything works, but with the index,php included in the url.

:-S

Michael[/quote]

You need the htaccess to be in root (www) directory, not inside the CI directory. And if its a local machine on Windows; that's bound to happen. It happened to me - I got forbidden errors 'till I removed .htaccess, etc.


Messages In This Thread
CodeIgniter URLs, .htaccess and all that stuff - by El Forum - 11-09-2008, 12:41 PM
CodeIgniter URLs, .htaccess and all that stuff - by El Forum - 11-09-2008, 12:46 PM
CodeIgniter URLs, .htaccess and all that stuff - by El Forum - 11-10-2008, 04:47 AM
CodeIgniter URLs, .htaccess and all that stuff - by El Forum - 11-10-2008, 07:35 AM
CodeIgniter URLs, .htaccess and all that stuff - by El Forum - 11-10-2008, 09:08 AM
CodeIgniter URLs, .htaccess and all that stuff - by El Forum - 11-10-2008, 12:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB