warning: Creating default object from empty value in /home/tderycke/www/ on line 34.

Another Apache config file for mobile device detection

Recently I posted an Apache configuration file that allows you to detect mobile devices and pass a query parameter to the back-end that informs your web application what type of device is accessing your website. This without the need for device detection in your back-end (e.g. Drupal).

The main goals for that script where:

  • 1 url for both the mobile and desktop site