Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Redirecting to wap login?

Quote Reply
Redirecting to wap login?
If I want to give users a short wap login, such as example.com/wap/, can I make this redirect to the longer url where the wap templates are in the cgi-bin just using the html refresh command embedded in the html page at example.com/wap, or is it more complicated than that?

Jason
Quote Reply
Re: [wickedmoon] Redirecting to wap login? In reply to
I think it'd depend on if the 'browser' supported redirections. If that doesn't work, you could always use Apache's ReWrite rules to accomplish it (or your web server's equivalent).

Adrian
Quote Reply
Re: [wickedmoon] Redirecting to wap login? In reply to
If you support rewrite, you could create a .htaccess file with:

RewriteRule /wap/ /cgi-bin/gmail/user/login.cgi?t=wap [L]

to rewrite http://yoursite/wap/ to http://yoursite/...user/login.cgi?t=wap.

Cheers,

Alex
--
Gossamer Threads Inc.