Closed (fixed)
Project:
Mobile Tools
Version:
6.x-2.3
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2011 at 10:04 UTC
Updated:
29 May 2012 at 19:16 UTC
Hi,
When using mobile tools with several domains, I found this configuration in Apache very useful. Maybe this can go into the documentation?
Inside your virtual host configuration:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^wap.example.com$ [NC]
RewriteRule ^(.*)$ http://m.example.com [R=301,L]
RewriteCond %{HTTP_HOST} ^mobile.example.com$ [NC]
RewriteRule ^(.*)$ http://m.example.com [R=301,L]
Thanks,
Best Regards
Per
Comments
Comment #1
devin carlson commentedPlease feel free to add anything useful information you've found to the documentation. Drupal documentation can be edited and improved by anyone!
Comment #1.0
devin carlson commentedCode