This sounds like this bug that is currently open: https://bugzilla.wikimedia.org/show_bug.cgi?id=58321
To work around I think you need to set it using %h0, %h1 and %h2 where '%h0' maps to 'en', '%h1' maps to 'wikipedia', and '%h2' maps to 'org'.
try 'm.$h1.%h2'


On Tue, Dec 24, 2013 at 9:42 PM, VP Singh <vpsinghdb@gmail.com> wrote:
I have my wiki on xserve.org and when i click mobileview.  it goes to
http://www.xserve.org/index.php?title=Main_Page&mobileaction=toggle_view_mobile
which is totally fine.

I want the mobile view on the m subdomain. mm.xserve.org

I set $mobileurltemplate : m.xserve.org. Now , the links appears to be
broken. I want to know how to use the m on apache server.
I tried to use rewrite rule. but it was wrong.
If the mobileurltemplate can automaatically generate a subdomain and
display the content
or Give me the rewrite rule, only if its need
for http://www.xserve.org/index.php?title=Main_Page&mobileaction=toggle_view_mobile
to m.xserve.org

If you visit the wiki. it is in under construction. just solve this

_______________________________________________
Mobile-l mailing list
Mobile-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l



--
Jon Robson
* http://jonrobson.me.uk
* https://www.facebook.com/jonrobson
* @rakugojon