Igor Sysoev wrote:
> On Thu, 27 Mar 2003, Dmitry Stepanov wrote:
>
>
>>RewriteEngine On
>>RewriteBase /ftpupdate
>>
>>RewriteRule !%{REMOTE_USER} http://%{SERVER_NAME}/ftpupdate/%{REMOTE_USER}
>[NE]
>
>
> А что такое '!' ?
Additionally in mod_rewrite the NOT character ('!') is a
possible pattern prefix. This gives you the ability to negate
a pattern; to say, for instance: ``if the current URL does NOT match this
pattern''.
This can be used for exceptional cases, where it is easier to match
the negative pattern, or as a last default rule.
> Возможно, нужно указать флаги R и L.
>
Зачем L? Правило-то одно-единственное.
Зачем R? Использование http://%{SERVER_NAME}/ дает тот же самый эффект.
--
D.Stepanov