.htaccess configuration problem |
[eluser]Unknown[/eluser]
Hello there I am new to code igniter and i have a problem with htaccess rewriting.. I got rid of the index.php on the root of my website but i also have some other url like this http://localhost/admin/xxxxx when i don t have the / at the end the url it messed up everything. Also when i use form to delete or update my database my index.php appears again in the url like this http://localhost/index.php/admin/xxx here is my htaccess Code: RewriteEngine on thanks for your help Sorry but my English is not perfect
[eluser]ejangi[/eluser]
Are you using XAMPP or something similar? Some of those one-click LAMP stacks don't have mod_rewrite enabled by default. Have a look at your httpd.conf file and make sure that the mod_rewrite line isn't commented out.
[eluser]Unknown[/eluser]
No i don t use this, and this is doing that both locally and on my live server... that s really annoying. i really don t know how to get rid of that |
Welcome Guest, Not a member yet? Register Sign In |