Russian Apache mailing list archive (apache-rus@lists.lexa.ru)
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
[apache-talk] RE: [apache-talk] вопрос по rewrite
> >
> > Такой вопрос:
> >
> > При запросе http://my.host/file.html
> > реально вызывается http://my.host/script.cgi?name=file.html
> >
> > Делается это с помощью
> > RewriteRule ^/(.*\.html)$ /script.cgi?name=$1
> >
> > Теперь возникла необходимость преобразовать
> > http://my.host/file.html?param=value
> > в http://my.host/script.cgi?name=file.html¶m=value
> >
>
> RewriteRule ^/(.*\.html)$ /script.cgi?name=$1 [NS,QSA,L]
>
> --
> Vladimir Pastukhov
> ========================================================================
Спасибо, помогло!!!
С уважением, mailto:slavik@xxxxxxx
Вячеслав Чукин, http://www.ukr.net
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
Спонсоры сайта:
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE .
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin . Design (C) 1998 Max Smolev.