[PHP] How do I use RewriteEngine for similar parameters?

2004-05-26 Thread Jake Johnson
Hello,
I am trying to use the RewriteEngine for the following two lines.  One has one 
parameter and the other has two?

http://www.plutoid.com/index.php?show=semi
http://www.plutoid.com/index.php?prd_id=5248show=semi

Thanks in advance!
-- 
Jake Johnson
http://www.plutoid.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How do I use RewriteEngine for similar parameters?

2004-05-26 Thread raditha dissanayake
Jake Johnson wrote:
Hello,
I am trying to use the RewriteEngine for the following two lines.  One has one parameter and the other has two?
 

You might want to try an apache group. And you might want to read the 
manual, particularly  the examples before you post in an apache group.

http://www.plutoid.com/index.php?show=semi
http://www.plutoid.com/index.php?prd_id=5248show=semi
Thanks in advance!
 


--
Raditha Dissanayake.
-
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] How do I use RewriteEngine for similar parameters?

2004-05-26 Thread Matt Matijevich
[snip]
I am trying to use the RewriteEngine for the following two lines.  One
has one parameter and the other has two?
[/snip]

this is more of an apache question you could get better answers on an
apache list
http://httpd.apache.org/docs/misc/rewriteguide.html 

just check the first for prd_id first

RewriteCond %{REQUEST_URI} prd_id #you could probably get a better test
expression 
rewrite your url

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php