Welcome Guest, Not a member yet? Register   Sign In
.htaccess configuration problem
#1

[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
RewriteCond $1 !^(index\.php|images|uploads|css|skins|js|robots\.txt|FAVideo\.swf|favicon\.ico|swf|test\.html)
RewriteRule ^(.*)$ /index.php/$1 [L]

thanks for your help

Sorry but my English is not perfect
#2

[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.
#3

[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




Theme © iAndrew 2016 - Forum software by © MyBB