How can I rewrite URLs in the Zeus web server for Mobile useragent?
I need to redirect anyone with a mobile user agent to a file called mobile.php. My web hosting provider, Net Registry uses the Zeus web server. Here's the script I've written from my research RULE_1_START: # get the document root map path into SCRATCH:DOCROOT from / match IN:User-Agent into $ with iPad|iPod|iPhone|Android|s+Mobile if matched then set OUT:Location = /mobile.php endif RULE_1_END: I used the instructions on my host's site . I pasted that into their console and it has worked to do redirects. Net registry have some odd console thing that you submit and it takes 10 minutes to update