|
Re: lug-bg: httpd.conf
- Subject: Re: lug-bg: httpd.conf
- From: pavlinpetkov@xxxxxxxxx (Pavlin Petkov)
- Date: Thu, 20 Dec 2001 04:02:11 -0800 (PST)
Nesym se zanimawal sys servelti no towa po-dolu nqma
li da ti swyrhsi rabota:
DocumentRoot "/<path_to_apache>/servlets/redirect"
i po-natatyk ...
DirectoryIndex "tam.kakvoto.e"
wmesto index.html
On Thu, Dec 20, 2001 at 10:47:03AM +0200, Vasko
Tomanov 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
>
> > 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
na praktika tova prenasotshva vsitshki fajlowe ot tipa
*.gif kam
=====
Pavlin Petkov
-----------------------
pavlinpetkov@xxxxxxxxx
nnemkob@xxxxxx
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|