[users@httpd] Issue During Cname Switch

2016-12-16 Thread Ajay B
Hi All

We are using Apache HTTPD server and pointing to our server using cname.

Whenever we point the cname to different server the apache is not able to
recognize it till we restart the httpd service.

Once we restart the apache it passed the request to new server.

Please help us in fixing this issue.

Thanks
Ajay


Re: [users@httpd] Issue During Cname Switch

2016-12-16 Thread Ajay B
Hi Yehuda

We changed only the DNS configuration not the HTTPD.

Thanks
Ajay

On Fri, Dec 16, 2016 at 7:41 PM, Yehuda Katz  wrote:

> Your question doesn't say whether you are changing the HTTPD configuration
> or just changing the DNS.
>
> Any time you change the HTTPD configuration you need to restart the
> service. There is no way around that. If that isn't the problem, try
> describing the steps you take when you make a change.
>
> - Y
>
> Sent from a device with a very small keyboard and hyperactive autocorrect.
>
> On Dec 16, 2016 6:51 AM, "Ajay B"  wrote:
>
>> Hi All
>>
>> We are using Apache HTTPD server and pointing to our server using cname.
>>
>> Whenever we point the cname to different server the apache is not able to
>> recognize it till we restart the httpd service.
>>
>> Once we restart the apache it passed the request to new server.
>>
>> Please help us in fixing this issue.
>>
>> Thanks
>> Ajay
>>
>>


[users@httpd] Change in DNS(CNAME)

2017-01-09 Thread Ajay B
Hi All

We have two Environments Production/DR which is having the same CNAME and
we are using the same in ssl.conf file.

But we are facing an issue where in whenever we failover to DR (Point the
CNAME to DR IP)

Apache does not automatically point to DR. we have to restart the services
to bring this into effect.

Any help here would be helpful

Thanks
Ajay


[users@httpd] Redirect BookMark Link

2019-02-14 Thread Ajay B
Hi All

We have an urgent requirement coming in to redirect the users Bookmarked
link

Example

The users has currently stored

https://example.com/page?orgId=1

We need to redirect it to https://example.com/page?orgId=2

Any help here would be appreciated

Thanks
Ajay


Re: [users@httpd] Redirect BookMark Link

2019-02-16 Thread Ajay B
Thanks a lot for reply

This helped a lot

On Fri 15 Feb, 2019, 11:56 PM Daniel Ferradal  Only rewritecond can check query string so, you need a rewritecond to
> check for the specific query string you want to check, something like
> this would literally do what you ask.
>
> RewriteCond %{QUERY_STRING} ^orgId=1
> RewriteRule ^/page$ /page?orgId=2 [R,L]
>
> El jue., 14 feb. 2019 a las 17:16, Ajay B
> () escribió:
> >
> > Hi All
> >
> > We have an urgent requirement coming in to redirect the users Bookmarked
> link
> >
> > Example
> >
> > The users has currently stored
> >
> > https://example.com/page?orgId=1
> >
> > We need to redirect it to https://example.com/page?orgId=2
> >
> > Any help here would be appreciated
> >
> > Thanks
> > Ajay
>
>
>
> --
> Daniel Ferradal
> HTTPD Project
> #httpd help at Freenode
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>