Welcome Guest, Not a member yet? Register   Sign In
remove index.php problem
#1

[eluser]WebbHelp[/eluser]
Hi!

I got a problem with removing the index.php in the path.

1. Here is the link:
http://www.nkpg-stad.se/
I got that error, with the .htaccess file in the root(/public_html), with the codeigniter files and everything!
the htaccess:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

-------------------------------------------
2. I also tried it on my xampp - apache server!
There I got the .htaccess file in htdocs/cms (htdocs/cms/.htaccess)
So there I got this "code":
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /cms/index.php/$1 [L]
But I don't now why there would be /cms/index.php when the htaccess is in the same directory...
Btw, it works a little bit, I don't need to write index.php, BUT there is no design, the design is gone, I suppose that it is the path's which is wrong.
How can I solve these 2 problems?

Thanks //WebbHelp


Messages In This Thread
remove index.php problem - by El Forum - 12-16-2009, 04:46 PM
remove index.php problem - by El Forum - 12-16-2009, 05:14 PM
remove index.php problem - by El Forum - 12-17-2009, 01:45 AM
remove index.php problem - by El Forum - 12-17-2009, 02:07 AM
remove index.php problem - by El Forum - 12-17-2009, 02:08 AM
remove index.php problem - by El Forum - 12-17-2009, 04:35 AM
remove index.php problem - by El Forum - 12-17-2009, 08:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB