On Wed, Feb 09, 2005 at 02:15:49PM +0200, [EMAIL PROTECTED] 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-Ð ÑÐ, Ð ÐÐÐÑÐÑÐ ÐÐÐÐ ÐÐÑÐÐÐ.
[L, PT] ÐÑÐÐ ÐÐ ÐÑÑÐÐÑ ÐÐ ÐÐÐÐÐÑÐ HTTP redirect, Ð ÐÐÑÐÐÐÑÐÐÑÐ ÑÐ ÐÑÐÐÑÐÐÐ ÐÑÐÐ ÐÑÑÐÐÐÐÐÑÐ ÑÐÐÑÑÐ, alias-Ð, ScriptAlias-Ð Ð Ñ.Ð.
ÐÐ ÐÐ ÐÑÐÐÐÑÐÑÐÐ, ÐÑÐÐÐÐÐÑÐ ÑÑÑÐÐÐ ÐÐ e Ñ ÑÐÐÐ [R]
redirect|R [=code]' (force redirect)
Prefix Substitution with http://thishost[:thisport]/ (which makes the new URL a URI) to force a external redirection. If no code is given a HTTP response of 302 (MOVED TEMPORARILY) is used. If you want to use other response codes in the range 300-400 just specify them as a number or use one of the following symbolic names: temp (default), permanent, seeother. Use it for rules which should canonicalize the URL and give it back to the client, e.g., translate ``/~'' into ``/u/'' or always append a slash to /u/user, etc.
Note: When you use this flag, make sure that the substitution field is a valid URL! If not, you are redirecting to an invalid location! And remember that this flag itself only prefixes the URL with http://thishost[:thisport]/, rewriting continues. Usually you also want to stop and do the redirection immediately. To stop the rewriting you also have to provide the 'L' flag.
-- Sava Chankov ÐÐÐÐ ÐÐÐÐÐÐ research and development ÐÑÐÑÑÐÐÐÐ Ð ÑÐÐÐÐÐ http://www.blueboard.biz ÐÐÑÐÐÑÐ ÐÐÐ ============================================================================ A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html ============================================================================
