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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

lug-bg: httpd.conf


  • Subject: lug-bg: httpd.conf
  • From: vasko@xxxxxx (Vasko Tomanov)
  • Date: Thu, 20 Dec 2001 10:47:03 +0200



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

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



 

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

 

линукс за българи
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.