Re: ReDirect question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 27, 2015 at 11:42 AM, James Moe <jimoe@xxxxxxxxxxxxxx> wrote:
- I added "LogLevel info rewrite:trace6" to the VirtualHost section
- The rewrite rule in <.htaccess>
RewriteEngine on
RewriteCond %{QUERY_STRING} =app=ecom&ns=catshow&ref=books
RewriteRule ^
https://ya250.infusionsoft.com/app/storeFront/handleStoreFrontLink?displayType=Category&id=1&displayName=Books
[R=301,L,E=error-notes:qstring-matched
]

- An excerpt from the error log:
[...] referer:
https://sma-v3.sma.com/clickcart/?app=ecom&ns=catshow&ref=books

  There is nothing in the error log that contains the string "rewrite".
  If I read the docs correctly about LogLevel, the above rewrite is
being totally ignored since nothing the error log contains the string
"rewrite".
  Any suggestions?

A "Referer:" header is not the URI sent to the web server. It's typically added by the web browser to indicate the URI from which the request originated. Your error log should include the entire URI, including query string, sent to your server.

--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux