rewrite nginx
    ~
Advanced Hosters -

Apple_Macintosh
: 08.12.2005
: 3208
Contest (: 2)
# : 21, 2011 8:48 pm
Server nginx/0.8.54



RewriteRule ^models/$ /scj/tube/?force_template=model_list [L]
RewriteRule ^models/(.*)/$ /scj/tube/?force_template=model_list&model_first_letter=$1 [L]
RewriteRule ^model/(.*)/(.*)/(.*)/$ /scj/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3 [L]
RewriteRule ^model/(.*)/$ /scj/tube/?model_slug=$1&force_template=model_galleries [L]
, ? !!!

Editeur
: 19.06.2010
: 382
# : 21, 2011 9:12 pm
rewrite ^/models/$ /scj/tube/?force_template=model_list last;
rewrite ^/models/(.+)/$ /scj/tube/?force_template=model_list&model_first_letter=$1 last;
rewrite ^/model/(.*)/(.*)/(.*)/$ /scj/tube/?model_slug=$1&force_template=model_galleries&order=$2&page=$3 last;
rewrite ^/model/(.*)/$ /scj/tube/?model_slug=$1&force_template=model_galleries last;

, "^/",
BossTDS - | demo BossTDS
    ~