Welcome! Log In Create A New Profile


Specific redirection by user agent

Posted by carlito 
Specific redirection by user agent
April 10, 2020 04:34AM

I have an issue I can't solve :'(
I would like to generate a redirection by user agent.

I have a physical file : domain.com/stats.xml
I would like to serve this file for ALL except for browser with a specific User Agent (ABC for this example).

So, if User Agent = ABC, user should be redirect to specific-stats.xml
In other case, the file stats.xml has to be served.

I have tried my options. Impossible to find a solution.

Is it possible ?

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready