Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [Mod_rewrite] nie dziala modyfikator [L]
qba_rox
post
Post #1





Grupa: Zarejestrowani
Postów: 29
Pomógł: 1
Dołączył: 12.01.2009
Skąd: Warszawa

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


Siema, mam nastepujacy problem:

[APACHE] pobierz, plaintext
  1. RewriteEngine on
  2. RewriteBase /
  3.  
  4. RewriteCond %{REQUEST_URI} \..+$
  5. RewriteCond %{REQUEST_URI} !\.html$
  6. RewriteRule .* - [L]
  7.  
  8. RewriteCond %{REQUEST_METHOD} GET
  9. RewriteCond %{REQUEST_URI} ^(.*)$
  10. RewriteCond /opt/www/user_htdocs/jigla/qengine/web/cache%1/index.html -f
  11. RewriteRule ^(.*)$ cache%1/index.html [L]
  12.  
  13. RewriteCond %{REQUEST_METHOD} GET
  14. RewriteCond %{REQUEST_URI} ^(.*)$
  15. RewriteCond /opt/www/user_htdocs/jigla/qengine/web/cache%1 -f
  16. RewriteRule ^(.*)$ cache%1 [L]
  17.  
  18. RewriteRule ^(.*) index.php
[APACHE] pobierz, plaintext


Otoz gdy mam wlaczona ostatnia regulke, nie lapie, ignoruje poprzedne regoleki albo idzie dalej. nie wiem. Z kolei gdy zakomentuje ostatnia regulke, dziala tak jak byc powinno, czyli jesli cache istnieje to przekierwowywuje do niego.

co tu jest nie tak?

Ten post edytował qba_rox 12.11.2009, 14:58:58


--------------------
Kodzimy!!!
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: 19.08.2025 - 21:49