Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter WITHOUT rewrite engine
#5

[eluser]Yours3lf[/eluser]
Okay that's what I've done:
I have copied the codeigniter code to the root directory and configured the config.php (set my base url to http://localhost/ which I'm using), and I have made the httpd.ini which you adviced with the following code:

Code:
[ISAPI_Rewrite]
# no www? go to www site
RewriteCond Host: (?!^localhost)(.+)
RewriteRule /(.*) http\://localhost/$2 [I,RP]

# rewrite for index.php
RewriteRule /(?:img|css|js|scripts|uploads)/(.*) $0 [I,L]
RewriteRule /(.*) /index.php/$1 [L]

is it correct? because it isn't working, it displays the welcome screen...


Messages In This Thread
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-26-2010, 04:37 PM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-26-2010, 04:45 PM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-27-2010, 12:42 AM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-27-2010, 12:59 AM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-27-2010, 10:39 AM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-27-2010, 11:50 AM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-27-2010, 01:19 PM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-27-2010, 09:33 PM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-28-2010, 03:23 AM
CodeIgniter WITHOUT rewrite engine - by El Forum - 04-28-2010, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB