Apache and WAP Problems

Discussion in 'Apache' started by Druggy, Oct 11, 2007.

  1. #1
    Hallo guys,

    I just installed Apache and the web part is working flawlessly. Now I configured Apache to host wap sites. I set up the MIME Types in Apache. Since I have a debian linux i put at the end of the apache2.conf following:

    AddType text/vnd.wap.wml wml
    AddType image/vnd.wap.wbmp wbmp
    AddType text/vnd.wap.wmlscript wmls
    AddType application/vnd.wap.wmlc wmlc
    AddType application/vnd.wap.wmlscriptc wmlsc

    DirectoryIndex index.wml

    Of course I restarted apache a couple of times.

    For a reason though it doesnt seem to work. When I put the url in my browser Firefox/IE I am propted to download the index.wml. But when i try the url in my mobile phone, i am getting a time out error (error 504).

    I am really frustrated here :-( what can I do, does anybody have a clue? :-(
     
    Druggy, Oct 11, 2007 IP
  2. Ladadadada

    Ladadadada Peon

    Messages:
    382
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes. Firefox doesn't do wap.

    There's a plugin for Firefox that allows you to display wap or you download phone emulators for your computer... or you can just browse your site on a phone :p
     
    Ladadadada, Oct 12, 2007 IP
  3. Druggy

    Druggy Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think you didnt really understand what I mean. I know that firefox cant do WAP or WML. This isnt really my problem here. My problem is, that the site doesnt work on the phone because of that error. It does though work in firefox and I can see this because it prompts me to download the index.wml site!
     
    Druggy, Oct 12, 2007 IP
  4. Ladadadada

    Ladadadada Peon

    Messages:
    382
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That's what you get for not reading ALL of someone's post :p

    I haven't heard of a 504 error before. Normally, when a site times out it just doesn't return anything.

    I looked it up and it seems to refer to a "Gateway Timeout" which I suspect means that it isn't your webserver that's causing the problem but your phone service provider's webserver. It's possibly a problem between theirs and your servers.

    Just a long shot... is your webserver hosted on an IP address that has recently been de-bogonified ? I've had troubles reaching websites on recently de-bogonified IP addresses because one of my upstream providers was blocking all requests to or from bogon addresses and their bogon list was out of date.
     
    Ladadadada, Oct 12, 2007 IP
  5. Druggy

    Druggy Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    good question, i dont know if the ip address i am using has been recently de-bogonified. I just tried with a diff phone and a different provider and it still doesnt work. i just installed the firefox plugin though and i see the wap site in its full glory ...

    one questions though, what kind of port is the gateway of my phone service provider using? it is using port 80 isnt it? i hope its not the firewall that is blocking it
     
    Druggy, Oct 12, 2007 IP
  6. Druggy

    Druggy Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    okay its solved ... a coworker of mine configured the firewall wrong ... haha oh well, still thanks for your help :)
     
    Druggy, Oct 12, 2007 IP