Re: lug-bg: apache rewrite rule
- Subject: Re: lug-bg: apache rewrite rule
- From: Peter Pentchev <roam@xxxxxxxxxxx>
- Date: Wed, 9 Feb 2005 15:10:06 +0200
On Wed, Feb 09, 2005 at 02:15:49PM +0200, ianchov@xxxxxxx wrote:
> я, че така ще стане и с Rewrite:
> >>>
> >>> RewriteEngine on
> >>> RewriteRule http://www.namebg.com/(.*) http://www.name.com/$1 [L,PT]
> >>> RewriteRule http://www.namebg.biz/(.*) http://www.name.com/$1 [L,PT]
> >
>
> 10x
> ps. vagnoto e v address bara obache da se poiaviama samo name.com nezavisimo
> dali se iska namebg.biz ili ne6to drugo. mislia che mai tova pravi
> rewrite.popravete me ako gresha
Да, Rewrite изпраща на клиента HTTP redirect (обикновено 302, но можеш
да го конфигурираш - redirect={permanent,temp,seeother}), така че
клиентският браузър претакова URL-то и в address bar-а си, и изпраща
нова заявка.
Поздрави,
Петър
--
Peter Pentchev roam@xxxxxxxxxxx roam@xxxxxxxx roam@xxxxxxxxxxx
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
Thit sentence is not self-referential because "thit" is not a word.
Attachment:
pgpi3BszsarbR.pgp
Description: PGP signature
|