• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with mod_rewrite

#1
[eluser]marcin346[/eluser]
I put correct .htacces file, I changed $config['uri_protocol'] = "REQUEST_URI"; and $config['index_page'] = '';.
It works perfectly, but...
I put css file to media(same level as system and app) and http://localhost/media/style.css gives mi 404 error.
Without mod_rewrite it(http://localhost/media/style.css) links me to css file(it works).

.htacces:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

Help me, sorry for my english.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.