Welcome Guest, Not a member yet? Register   Sign In
Rewrite/htaccess issues (I think)
#2

[eluser]Unknown[/eluser]
I had the same problem, the following link helped me:

http://codeigniter.com/wiki/mod_rewrite/

I did some things in a slightly different manner than they instructed, but it still worked. So here's a brief summary of what worked for me:

- I didn't use command prompt, I just created my .htaccess file in my normal IDE.

- In the third line of the .htaccess code (from the link above), I changed "RewriteBase /" to "RewriteBase /CodeIgniter/" (will be RewriteBase /codeignite/ in your case)

- Just like they say, open system/application/config/config.php and change $config['index_page'] = "index.php"; to $config['index_page'] = '';

- For windows, open C:\xampp\apache\conf\httpd.conf and uncomment the following line: LoadModule rewrite_module modules/mod_rewrite.so

- Still inside httpd.conf, find a line like the following:
<Directory "C:/xampp/htdocs">

Inside that section, add the following:
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all

(the last two lines of the four are probably already in there)

- Remember to restart apache server

That's it.


Messages In This Thread
Rewrite/htaccess issues (I think) - by El Forum - 03-11-2008, 03:10 PM
Rewrite/htaccess issues (I think) - by El Forum - 05-26-2008, 07:11 AM
Rewrite/htaccess issues (I think) - by El Forum - 05-26-2008, 09:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB