Pogledajte određenu poruku
Staro 25. 02. 2013.   #1
kalkulus
Dusko Petrovic
Professional
 
Avatar kalkulus
 
Datum učlanjenja: 10.06.2005
Lokacija: Beograd
Poruke: 297
Hvala: 14
1.005 "Hvala" u 9 poruka
kalkulus is on a distinguished roadkalkulus is on a distinguished roadkalkulus is on a distinguished roadkalkulus is on a distinguished roadkalkulus is on a distinguished roadkalkulus is on a distinguished roadkalkulus is on a distinguished roadkalkulus is on a distinguished road
Pošaljite ICQ poruku za kalkulus
Default .htaccess gremlini

kao shto naslov kaze imam problem sa gremlinima

evo .htaccess linija u pitanju
Kôd:
RewriteRule games/([a-z-]+)$ game-list.php?type=$1
RewriteRule games/([a-z-]+)/(.+)$ game-single.php?slug=$2
postoje 2 URLa koja ove linije hvataju

/games/free-video-slots
/games/free-poker-games

i njihovi pod URLovi

problem je shto
/games/free-video-slots/bilo-shta

uredno matchuje drugu .htaccess liniju i otvori game-single.php

dok
/games/free-poker-games/bilo-shta

matchuje prvu .htacces liniju i otvori game-list.php

evo gledam ih vec drugi dan i ne kapiram u cemu je razlika

any ideas?
__________________
I know it all, I just can't remember it all at once
Blog / Pisanije / Best Engagement Rings / Blues DVDs

Poslednja izmena od kalkulus : 25. 02. 2013. u 14:58.
kalkulus je offline   Odgovorite uz citat