.htaccess problems! |
[eluser]Macros[/eluser]
Hi All, Any help on this will be muchly appreciated! Ok, so I've got an .htaccess file: Code: # Turn on URL rewriting Then I had the code sitting in a sub folder called "testing" and the RewriteBase line set to /testing/ it all worked fine. The rewrite was working perfectly. So I moved to to the domain root folder, and changed RewriteBase to /, as in the above. Now all hits to the site go to the default controller, with nothing passed thru. I don't know what's going wrong, but it's like the last line is throwing away the requested parts & just calling index.php. Has anyone else seen this? Anyone have any ideas as to what is going wrong? Cheers, Cameron.
[eluser]Yash[/eluser]
Try this Code: RewriteEngine On
[eluser]Macros[/eluser]
Ah, found the answer on another thread... should've looked first :red: Hostgator mod_rewrite with CI Had to change the uri_protocol to REQUEST_URI and it worked perfectly |
Welcome Guest, Not a member yet? Register Sign In |