Re: lug-bg: apache rewrite rule

2005-02-09 Thread ianchov
,   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

sorry la latinnicata



--
  www.mail.bg

   mail.bg :
-   
- 30MB
- 1GB  SMS  2
- SMS( )
- WAP   GSM   
-  POP3 
-
__

http://www.mail.bg




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



Re: lug-bg: apache rewrite rule

2005-02-09 Thread Peter Pentchev
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

, RewriteHTTP redirect ( 302,  
   - redirect={permanent,temp,seeother}),  
   URL-   address bar- ,  
 .

,


-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
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.


pgpF2G81djV4a.pgp
Description: PGP signature


Re: lug-bg: apache rewrite rule

2005-02-09 Thread Sava Chankov
Peter Pentchev wrote:
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
, RewriteHTTP 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



Re: lug-bg: apache rewrite rule

2005-02-09 Thread Peter Pentchev
On Wed, Feb 09, 2005 at 03:23:10PM +0200, Marian Marinov wrote:
  !

  ...
 top-post-  ? :)

  !  -VirtualHost   
  :
 
 Redirect / http://name.com
 
 -, -, -   - 
  .

 http://namebg.biz/foo/bar ?

,
 
http://name.bg/foo/bar,   
404- :)

   ...Rewrite  
 redirect...Rewrite Redirect   
   Rewrite-a.

 ,,  -  ,  - :)

,


 [cut]
  ,   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
 
  sorry la latinnicata
 [cut]

-- 
Peter Pentchev  [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence no verb.


pgptPdBdFSXpt.pgp
Description: PGP signature


lug-bg: apache rewrite rule

2005-02-08 Thread Iantcho Vassilev


,
Apache Rewriting Guide   ,  
.
 -
   request namebg.com OR namebg.biz OR www.namebg.biz 
  www.name.com



-

   Frank Teen!
  !   !
  : http://www.az-jenata.com/frank


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



Re: lug-bg: apache rewrite rule

2005-02-08 Thread Marian Marinov
  Redirect
 ,   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]


.

  09  2005 08:57 .. Iantcho Vassilev :
 ,
 Apache Rewriting Guide   ,
   .
  -
request namebg.com OR namebg.biz OR www.namebg.biz 
   www.name.com

 

 -

Frank Teen!
   !   !
   : http://www.az-jenata.com/frank

 ===
= 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
 ===
=

-- 
One Planet, One Internet.
We Are All Connected.

Registered Linux User #309995 at http://counter.li.org

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