Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-17 Thread Darly Coupet
Hi Josha, Thanks for excellent advise; the following works: RewriteCond %{REQUEST_URI} ^/Merchant2/merchant.mv [NC] RewriteCond %{QUERY_STRING} ^Screen\=CTGY\&Store_Code=AWLAS\&Category_Code\=Abc+Xyz$ RewriteRule (.*) http://www.sitename.com/index.php?action=view_user&user=2[R=301,L] On 11/17/0

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-17 Thread Darly Coupet
Hi Josha, Thanks for your patience and help. I do not have access to a server and the application that is serving the old url's. I think it is a syntax issue, one old URL routed to one new URL. Old url http://www.sitename.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-17 Thread Joshua Slive
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote: I have also tried with quotes, same error message RewriteLog "/usr/local/var/apache/logs/rewrite.log" > your security could be compromised if the directory where logfiles are stored is writable by anyone other than the user that starts the se

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Darly Coupet
I have also tried with quotes, same error message RewriteLog "/usr/local/var/apache/logs/rewrite.log" your security could be compromised if the directory where logfiles are stored is writable by anyone other than the user that starts the server. I am on a virtual host, Hosting provider is pro

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Darly Coupet
I udated the Rewrite rule as follows: RewriteRule merchant.mv http://www.sitename.com/index.php?action=view_user&user=2 [R=301,L] It is not being rerouted. #This RewriteLog line gives an error message RewriteLog /home/site/www/Merchant2/logs_server_rewrite.txt 500 Internal Server error The serv

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Joshua Slive
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote: Old url http://www.sitename.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz New URL http://www.sitename.com/index.php?action=view_user&user=2 htaccess is located in folder Merchant2 RewriteEngine On RewriteBase /

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Darly Coupet
Old url http://www.sitename.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz New URL http://www.sitename.com/index.php?action=view_user&user=2 htaccess is located in folder Merchant2 RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} ^Screen=CTGY&Store_Code=A

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Joshua Slive
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote: RewriteCond %{QUERY_STRING} /Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz RewriteRule ^/$ http://www.sitename.com/index.php?action=view_user&user=2 [R=301,L] The condition is not met; It is going to the old url. It

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Darly Coupet
RewriteCond %{QUERY_STRING} /Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz RewriteRule ^/$ http://www.sitename.com/index.php?action=view_user&user=2[R=301,L] The condition is not met; It is going to the old url. It should redirect to the new url when the old string (url

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Joshua Slive
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote: RewriteRule ^/merchant.mv\?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz$ http://www.sitename.com/index.php?action=view_user&user=2 [R=301,L] I have tried the above, but not working. Telling us that it is "not working" is not a good way

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Darly Coupet
RewriteRule ^/merchant.mv\?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz$ http://www.sitename.com/index.php?action=view_user&user=2 [R=301,L] I have tried the above, but not working. Thanks, Darly On 11/16/06, Joshua Slive <[EMAIL PROTECTED]> wrote: On 11/16/06, Darly Coupet <[EMAIL PROT

Re: [EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Joshua Slive
On 11/16/06, Darly Coupet <[EMAIL PROTECTED]> wrote: Hi, Unable to get Rewriterule working I have modified htaccess file in folder Merchant2 as follows: RewriteEngine On #RewriteRule ^old/URL/path$ http://yourdomain.com/new/path [R=301,L] Redirect 301 /Merchant2/merchant.mv?Screen=CTGY&Store_

[EMAIL PROTECTED] Rewriterule syntax not working

2006-11-16 Thread Darly Coupet
Hi, Unable to get Rewriterule working I have modified htaccess file in folder Merchant2 as follows: RewriteEngine On #RewriteRule ^old/URL/path$ http://yourdomain.com/new/path [R=301,L] Redirect 301 /Merchant2/merchant.mv?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz http://www.sitename.c