Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [inne][.htaccess] wykluczenie katalogu z obrazami z RewriteRule
ghost1511
post
Post #1





Grupa: Zarejestrowani
Postów: 186
Pomógł: 18
Dołączył: 2.09.2010

Ostrzeżenie: (0%)
-----


Mam taki oto plik htaccess
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


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?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 19:23