Kod
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
DirectoryIndex index.php
order deny,allow
ErrorDocument 404 http://xxx.pl/error_pages/error404.html
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [L]
SetEnv APPLICATION_ENV development
deny from all
</Files>
Options -Indexes
DirectoryIndex index.php
order deny,allow
ErrorDocument 404 http://xxx.pl/error_pages/error404.html
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [L]
SetEnv APPLICATION_ENV development
Niestety gdy podaję link do obrazka który nie istnieje to zwraca mi zawartość strony index.php w odpowiedzi. Jak wykluczyć folder "include" z reguły RewirteRule?