Ben bir php uygulama geliştiriyorum ve Apache ve Mod Rewrite ile küçük bir sorunu var. ? Herkes burada neyin yanlış olduğunu bilir:
RewriteEngine on
RewriteBase /mysite/
RewriteRule ^css\/css\.css css/css.php [L]
RewriteRule ^js\/js\.js js/js.php [L]
RewriteRule !^img\/.* index.php
When I put http://localhost/css/css.css appears index.php, maybe I'm missing something... Why when the url matchs with the first rule apache doesn't stop the rewriting process?
'Son | L' (son kural)
Stop the rewriting process here and don't apply any more rewriting rules. This corresponds to the Perl last command or the break command from the C language. Use this flag to prevent the currently rewritten URL from being rewritten further by following rules. For example, use it to rewrite the root-path URL ('/') to a real one, e.g., '/e/www/'.
Ben 3 saat beri forumları ve belgeler readed ve ben hala aynı sorun var.
Şimdiden teşekkürler.