Hmmmmmmmmmmmmmmmmmm,
then please don't post your WRONG solution sample.
-----Original Message-----
From: [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Fri, 10 Aug 2007 6.26PM
Subject: Re: Help me with an url rewrite
Hmm,
1. I did not sent a solution.
2. I just suggested how you should do.
3. I provided a link where you should ask about your problem.
Cristi Ocolisan
Let the record show: Microsoft is not an Australian company
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 1:15 PM
To: [EMAIL PROTECTED]
Cc: beginners@perl.org
Subject: Re: Help me with an url rewrite
Sorry first.
But have you looked at my question carefully?
Your solution CAN'T work at all!
-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; beginners@perl.org
CC: [EMAIL PROTECTED]
Sent: Fri, 10 Aug 2007 6.06PM
Subject: RE: Help me with an url rewrite
First, you are correct.
This is not the list you need.
You should use something like this:
RewriteRule ^index.php/(.*)$
http://www.site.com/index.php?q1=$1&domain=abc
More info here: http://www.modrewrite.com/
Hope it helps.
Cristi Ocolisan
Let the record show: Microsoft is not an Australian company
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 12:53 PM
To: beginners@perl.org
Cc: [EMAIL PROTECTED]
Subject: Help me with an url rewrite
I'm not sure if I've asked the correct lists,but hope I can get some
helps here.:)
I need a mod_rewrite rule,rewrite this url:
http://abc.site.com/index.php?q1=v1
to:
http://www.site.com/index.php?q1=v1&domain=abc
I applicated this rule:
RewriteEngine on
RewriteRule ^/(.+)$ http://www.site.com/$1&domain=abc
But I'm faint I can't get the correct result,it rewrote the url to:
http://www.site.com/index.php&domain=abc?q1=v1
(not http://www.site.com/index.php?q1=v1&domain=abc)
This disorder the things,I do hate it.
Can you show me a correct way?thanks.
________________________________________________________________________
Check out the new free AOL Email -- 2GB of storage and industry-leading
spam and email virus protection.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
________________________________________________________________________
Check out the new free AOL Email -- 2GB of storage and industry-leading
spam and email virus protection.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
________________________________________________________________________
Check out the new free AOL Email -- 2GB of storage and industry-leading
spam and email virus protection.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/