.htaccess WAP site URL

Discussion in 'Apache' started by itsall3, Mar 21, 2006.

  1. #1
    Sorry for two posts about .htaccess, but they are very differnt.

    Currently my website is www.itsall3.com and my wap site is www.itsall3.com/wap

    But one site i know has a wap site, and it just uses the same url? not /wap/

    How is this possible.

    Also, does anyone have a definative list of mime types for all differnt makes of mobiles/cell phones and image and sound types and what app opens them on the phone.

    (this will prob only make sense to wap site owners)

    Thanks very much regards.
     
    itsall3, Mar 21, 2006 IP
  2. bluemouse2

    bluemouse2 Well-Known Member

    Messages:
    4,055
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    185
    #2
    I'll tell you how it's possible
    in your index.php you have to check whether the browser/gateway accepts WML; if it is - it will show its wap content; else, if not, the page will be accessed normally as html and will show its html content
    http://wapload.org can be accessed via wap and html at the same time
    btw I'd be glad to have a link exchange with your site
     
    bluemouse2, Mar 21, 2006 IP
  3. itsall3

    itsall3 Active Member

    Messages:
    505
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #3
    thanks for the info matey, but im not sure i understand :(

    My index is index.php and my wap index is index.wml

    Please could you post and example of the php code you are using to redirect to the wml page.

    (p.s i'm up for a link exchange, i'll match the location of where you put mine to yours. cheers!)
     
    itsall3, Mar 24, 2006 IP
  4. bluemouse2

    bluemouse2 Well-Known Member

    Messages:
    4,055
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    185
    #4
    bluemouse2, Mar 25, 2006 IP