ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: Sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] mod_rewrite help
Date: Thu, 18 May 2006 15:54:42 +0300
Message-ID: <20060518125442.GU28598@osdn.org.ua> (raw)
In-Reply-To: <20060517120639.GA7826@vladregion.ru>

On Wed, May 17, 2006 at 04:06:40PM +0400, Alexander Volkov wrote:
> Трям.  Народ, насколько понимаю, заменить каталог на
> апач-сервере содержимым каталога другого апач-сервера,
> находящегося в внутренней сети, можно с помощью mod_rewrite?

Заменить или перекинуть?

> Только мутно как то написано - без стакана не разберешься :)

Угу.

> Может кто подсказать просто директиву?

Там ещё такая грабля бывает... что в httpd.conf (или включаемом
кусочке) работает та самая директива, которая не работает в
.htaccess, несмотря на AllowOverride.

--- vhosts.d/www.linux.kiev.ua.conf
        <IfModule mod_rewrite.c>
                RewriteEngine On
                #RewriteLog logs/rewrite_log
                #RewriteLogLevel 3
                RewriteRule     ^/~(.+) http://old.linux.kiev.ua/~$1  [R,L]
        </IfModule>
---

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2006-05-18 12:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17 12:06 Alexander Volkov
2006-05-18 12:54 ` Michael Shigorin [this message]
2006-05-18 19:04   ` Konstantin A. Lepikhov
2006-05-19  8:01     ` Michael Shigorin
2006-05-19 18:32       ` Konstantin A. Lepikhov
2006-05-21  9:13         ` Michael Shigorin
2006-05-21 13:46           ` Konstantin A. Lepikhov
2006-05-22  5:09             ` Ivan Fedorov
2006-05-22  5:49               ` Konstantin A. Lepikhov
2006-05-19  6:42   ` Alexander Volkov
2006-05-19  8:01     ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060518125442.GU28598@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=Sysadmins@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git