Regular expression for .htaccess



  • Regular expression for file .htaccess: ( RewriteRule ^(.*)$ index.php [L,QSA])which ignores all symbols after root (index.php Processor) how to make sure that it is not ignoredpng files and css files. Trying like this: ^(.[^(png|css)])$doesn't work.



  • Not strong in htaccess, but I saw it in one move.

    # если директория или файл существуют, использовать их напрямую
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2