ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Community <community@lists.altlinux.org>
Cc: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] mod_rewrite and ?
Date: Wed, 16 May 2007 01:21:10 +0300
Message-ID: <20070515222110.GE30001@osdn.org.ua> (raw)
In-Reply-To: <20070508123829.GD9713@immo.ru>

On Tue, May 08, 2007 at 04:38:29PM +0400, Alexey I. Froloff wrote:
> > RewriteRule ^product_info.php\?(.*)products_id=([0-9]+) p-$1.html [R]
> "product_info.php" - это %{SCRIPT_FILENAME}, а "products_id=" -
> часть %{QUERY_STRING}, в RewriteRule оно не учитывается.
> RewriteCond %{QUERY_STRING} products_id=([0-9]+)
> RewriteRule ^product_info.php$ p-%1.html [R]

Кстати, нашлось тут rewritewiki (искал своё):
http://rewrite.drbacchus.com/rewritewiki/VirtualHost

(для sysadmins@ продублирую и ссылку
на http://www.mod-rewrite-wizard.com/)

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


           reply	other threads:[~2007-05-15 22:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20070508123829.GD9713@immo.ru>]

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=20070515222110.GE30001@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@lists.altlinux.org \
    --cc=sysadmins@lists.altlinux.org \
    /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