Re: apache redirect q

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

 





> Date: Thursday, June 04, 2015 08:56:53 AM -0700
> From: K R <kp0773@xxxxxxxxx>
> 
>> On Thu, Jun 4, 2015 at 8:53 AM, Richard wrote:
>> 
>> > Date: Thursday, June 04, 2015 08:35:34 AM -0700
>> > From: K R <kp0773@xxxxxxxxx>
>> > 
>> > Hi,
>> > 
>> > need to setup a  rule for   below
>> > 
>> > source - >  https://website1.com/prt/sell?yr=73
>> > target ->   https://website2.com/chn/hk/dg?yr=73
>> > 
>> 
>> 
>> Start with the documentation, by looking at the
>> redirect/redirectmatch directives:
>> 
>>   <http://httpd.apache.org/docs/2.4/mod/mod_alias.html#redirect>
>>
> 
> I am able to redirect the  below ->
> 
> source - >  http://website1.com/prt/sell?yr=73
> <https://website1.com/prt/sell?yr=73>
> target ->   https://website2.com/chn/hk/dg?yr=73
> 
> but when the webserver receives call with https  it is not
> redirecting  . not able to figure out what I am missing

You need to make certain you have the redirect directives in the
appropriate sections of your config file(s), i.e., where SSL and
non-SSL connections are actually handled.

Without seeing your configuration (trimmed to just the relevant
bits) and what you are actually doing, it's hard to be specific.

[please do not top-post -- or at least keep the posting direction
consistent.]



---------------------------------------------------------------------
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