Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: httpd.conf


  • Subject: Re: lug-bg: httpd.conf
  • From: mitko@xxxxxxx (Dimitar Peikov)
  • Date: Thu, 20 Dec 2001 11:39:02 +0200



On Thu, 20 Dec 2001 10:47:03 +0200
Vasko Tomanov <vasko@xxxxxx> wrote:

> iskam da napravia slednoto neshto ..
> 
> da redirektna vsithko koeto odva kam 10.0.0.10 na sashtoto ime na
> domaina + /servlets/redirect
> 
> 
> naprimer ako se izvika - http://www.niakoi.com/ ( za koito w dns-a pushe
> tshe sotshi 10.0.0.10) da se prenasotshi kam
> http://www.niakoi.com/servlets/redirect
> 
> zashtoto da raoti i za:
> 
>  www.niakoi.com -> http://www.niakoi.com/servlets/redirect
>  www.niakoi.com/xx.yy/xx -> http://www.niakoi.com/servlets/redirect
> 
> primerqat w apache dokumentaciata izglejda po slednia nasthin :
> 
> RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg

        Opitaj taka :

RedirectMatch http://www.(.*).com/(.*)\.gif$ http://www.anotherserver.com/$2.jpg

$1 e imeto na domain-a.

> 
> na praktika tova prenasotshva vsitshki fajlowe ot tipa *.gif kam 
> http://www.anotherserver.com/*.jpg
> 
> problemat mi se satoi w tova tshe ne moga s RegExp da vzema imeto na
> domaina - ami mi dava samso tova deto e sled imeto na domaina - i to s
> edna tshartitshka...
> 
> NIAKVI IDEI ?
> 
> vasko
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora


-- 
Dimitar Peikov
Programmer Analyst
Globalization Group
"We Build e-Business"  

RILA Solutions  
27 Building, Acad.G.Bonchev Str.  
1113 Sofia, Bulgaria  

phone: (+359 2) 9797320 
phone: (+359 2) 9797300 
fax:   (+359 2) 9733355  
http://www.rila.com 
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.