Re: ReDirect question

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/27/2015 05:32 PM, Kurtis Rader wrote:
> Try adding another rewrite rule to the .htaccess. For example,
> 
> RewriteCond %{QUERY_STRING} =testing=123 RewriteRule ^ . [F]
> 

$ curl -v "http://sma-v3.sma.com/catalog/?testing=123";
*   Trying 192.168.69.246...
* Connected to sma-v3.sma.com (192.168.69.246) port 80 (#0)
> GET /catalog/?testing=123 HTTP/1.1 Host: sma-v3.sma.com User-Agent:
> curl/7.42.1 Accept: */*
> 
< HTTP/1.1 302 Found
< Date: Sun, 28 Jun 2015 00:59:03 GMT
< Server: Apache/2.4.10 (Linux/SUSE)
< Location: https://sma-v3.sma.com/clickcart/?testing=123
< Content-Length: 313
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a
href="https://sma-v3.sma.com/clickcart/?testing=123";>here</a>.</p>
<hr>
<address>Apache/2.4.10 (Linux/SUSE) Server at sma-v3.sma.com Port
80</address>
</body></html>
* Connection #0 to host sma-v3.sma.com left intact


- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlWPR8cACgkQzTcr8Prq0ZNL8QCZAb3uFgoO9nAmxU13KpPZT2oM
1GcAoIT14HdIBwDyhmWZK0oDMexS9q+7
=Ii4a
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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