I've been using Mobile Joomla and Akeeba backup for some time, but today there has suddenly started to be a conflict between them.
I have a perl script that uses LWP::UserAgent to call:
www.example.com/index.php?option=com_akeeba&view=backup&key=#######&profile=1&format=raw
(where ####### is the password).
This is used to automate backups without having to manually log into the backend of the website and has been working fine for months. But today it failed because it's trying to redirect to one of the mobile subdomains instead.
The perl script uses the user agent string of "OpenGlobal". By changing this to "Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20100101 Firefox/10.0.1", it magically started working again.
How are unrecognised UA strings handled? It seems like unrecognised UA strings default to the first mobile subdomain.
OpenGlobal
I have a perl script that uses LWP::UserAgent to call:
www.example.com/index.php?option=com_akeeba&view=backup&key=#######&profile=1&format=raw
(where ####### is the password).
This is used to automate backups without having to manually log into the backend of the website and has been working fine for months. But today it failed because it's trying to redirect to one of the mobile subdomains instead.
The perl script uses the user agent string of "OpenGlobal". By changing this to "Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20100101 Firefox/10.0.1", it magically started working again.
How are unrecognised UA strings handled? It seems like unrecognised UA strings default to the first mobile subdomain.
OpenGlobal