RewriteRule problem |
[eluser]Mitja B.[/eluser]
This is my URL: http://www.dvorec-jeruzalem.si/sl/dodatna It works on my localhost but not on server. If i try: http://www.dvorec-jeruzalem.si/index.php/sl/dodatna then works normal. This is my htaccess: Try boath ways: RewriteRule ^(.*)$ index.php/$1 [L] and RewriteRule ^([^/]+)/(.*)$ /index.php/$1/$2 [L] but none of the rules works on server. <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d #RewriteRule ^(.*)$ $1.php #RewriteRule ^(.*)$ index.php/$1 [L] RewriteRule ^([^/]+)/(.*)$ /index.php/$1/$2 [L] #RewriteRule ^(.*)$ $1 </IfModule> Any ideas?
[eluser]Mitja B.[/eluser]
found solution: RewriteRule ^(.*)$ index.php?/$1 [L]
[eluser]n0xie[/eluser]
It took you 3 minutes to find the answer to your own question? :-P
|
Welcome Guest, Not a member yet? Register Sign In |