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 udated the Rewrite rule as follows:
RewriteRule merchant.mv http://www.sitename.com/index.php?action="" [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 server encountered an internal error or misconfiguration and was unable to complete your request.
I created the logs_server_rewrite.txt file (touch) and chmod 777
Greatly appreciate your help.
DarlyOn 11/16/06, Joshua Slive <joshua@xxxxxxxx> wrote:On 11/16/06, Darly Coupet < apache@xxxxxxxx> 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=""
>
> htaccess is located in folder Merchant2
>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{QUERY_STRING}
> ^Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz$
> RewriteRule ^/Merchant2/merchant.mv
> http://www.sitename.com/index.php?action="">
> [R=301,L]
>
> It s still not being rerouted.
Third try: Use the RewriteLog!
Given that you are in an .htaccess file, the RewriteRule will be
matching relative to the current URL-path, so you probably want
RewriteRule merchant.mv ...
You're welcome to post again, but I'm not personally going to help you
anymore unless you try to help yourself a little
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx