Quick question about url rewriting |
[eluser]pickledegg2[/eluser]
I'm trying to get my head around isapi_rewrite to remove the index.php, and just get my head around rewriting in general. Is the following a correct assumption? 1)The link is clicked in the browser & the server receives a request for: http://www.mydomain.com/ci/class/method/3 (note no index.php) 2)The isapi_rewrite kicks in and rewrites the url to: http://www.mydomain.com/ci/index.php/class/method/3 (adds index.php) 3)The request is passed to the codeigniter application, which is expecting an index.php in order to work properly. 4)Lots of fun is had by all! So in reality , when people talk about 'removing index.php from the url' they are actually talking about the rewrite engine adding it back in!! Correct?
[eluser]pickledegg2[/eluser]
thanks buddy PS, you really shouldn't have an avatar depicting someone smoking you know, its real bad for you |
Welcome Guest, Not a member yet? Register Sign In |