RE: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-15 Thread stoddarn
>> > Boyle Owen wrote:
>>
> So I would conclude that there is nothing wrong with the setup at your
> end. I think you need to look at the setup at the phone's service
> provider. To recap how WAP works, the phone makes a proprietary (eg, GPRS)
> connection to a WAP server located in the phone company's premises, and
> submits the URL. It is the WAP server that makes the HTTP request to your
> server. It's not really the phone that receives the redirect, it's the WAP
> server - if it is unable to resolve the redirected hostname or (more
> likely) if it cannot issue a request to port 8080 (maybe a FW rule), then
> the request will fail.
>

I talked with Cingular (my service provider) and they checked into their
GPRS/WAP server.  They were able to connect to my site with the phones the
tech-support team had on hand.  They then told me that not all phones are
able to connect to all websites, and said I should contact the website
provider.  I then sent a support request to Siemens (my phone) to see if
they can help, but I am still waiting for an answer.

Either way, I think I’m back at the same issue.  Is there a way I can
setup my Apache redirect to work on the lowest common denominator cell
phones?

Just to refresh everyone, here is what I expect to happen:
 1.  Cell Phone sends request to:   www.go2mm.net/m/nate
 2.   Apache sends a redirect (302) response back with content-type:  
text/html
3.  Cell Phone sends a request to: 
www.stoddardsoftware.com:8080/mobilemovies/m/nate
4.  Server sends WML document to the cell phone.

When I connect to the first line (www.go2…), with my cell phone, I get a
404 error.  However, if I connect directly to the redirect link
(www.stoddardsoft…), I do not get an error and I can see the WML page
correctly.

So is there a way to setup Apache to send the redirect response in WML
instead of HTML?

Thanks for the help,
-Nate



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-05 Thread stoddarn
Thanks for testing it for me.


>
> Thanks. Testing from the command line works perfectly: the URL above
> produces a 302 redirect to
> http://www.stoddardsoftware.com:8080/mobilemovies/m/nate which returns the
> WML file. So no probs with the apache config.
>
> Testing with an online WAP browser (http://www.wapsilon.com/) works
> perfectly - the WML file is displayed and is functional.
>
> Testing with my Nokia 6230 works perfectly - the WML file is displayed and
> is functional.


That's good.  If you could also go here:  http://www.go2mm.net/test with
your Nokia.  It'll just pull the HTTP request information from your phone.
 It's the same information I posted previously about the phones that
failed.  The response is text/plain and some phones won't display that,
but if you don't get a 404 error, it'll still have stored the HTTP data.


> So I would conclude that there is nothing wrong with the setup at your
> end. I think you need to look at the setup at the phone's service
> provider. To recap how WAP works, the phone makes a proprietary (eg, GPRS)
> connection to a WAP server located in the phone company's premises, and
> submits the URL. It is the WAP server that makes the HTTP request to your
> server. It's not really the phone that receives the redirect, it's the WAP
> server - if it is unable to resolve the redirected hostname or (more
> likely) if it cannot issue a request to port 8080 (maybe a FW rule), then
> the request will fail.

I can go directly to the redirect URL (the :8080 one) without issue.  I
only get the failure when I go to the first URL which is then redirected
to the :8080 URL.


> Do the phone's you've tested with all have the same service provider? Can
> you find and try a different phone?

The phones that I tried are different types and different providers. I
have a Siemens phone from AT&T Wireless (now Cingular).  The Motorla phone
was from Verizon.

Who is your service provider?

Thanks for the help,
-Nate


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-04 Thread Boyle Owen
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 05, 2006 6:29 AM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] .htaccess and WAP 1.1
> 
> 
> > Boyle Owen wrote:
> 
> > Doesn't mean much... Could all be using the same DN server 
> for all we 
> > know. I understand you being coy about revealing your actual domain 
> > name but in this case you are hindering people trying to 
> help you. It 
> > is starting to look like a DNS issue whereby some machines on 
> > undefined networks are resolving urlB to the correct 
> address while the 
> > WAP server that the phone connects to is resolving urlB to 
> an address 
> > that "doesn't work".
> 
> Fair enough:  http://www.go2mm.net/m/nate

Thanks. Testing from the command line works perfectly: the URL above produces a 
302 redirect to http://www.stoddardsoftware.com:8080/mobilemovies/m/nate which 
returns the WML file. So no probs with the apache config.

Testing with an online WAP browser (http://www.wapsilon.com/) works perfectly - 
the WML file is displayed and is functional.

Testing with my Nokia 6230 works perfectly - the WML file is displayed and is 
functional.

So I would conclude that there is nothing wrong with the setup at your end. I 
think you need to look at the setup at the phone's service provider. To recap 
how WAP works, the phone makes a proprietary (eg, GPRS) connection to a WAP 
server located in the phone company's premises, and submits the URL. It is the 
WAP server that makes the HTTP request to your server. It's not really the 
phone that receives the redirect, it's the WAP server - if it is unable to 
resolve the redirected hostname or (more likely) if it cannot issue a request 
to port 8080 (maybe a FW rule), then the request will fail.

Do the phone's you've tested with all have the same service provider? Can you 
find and try a different phone?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.  


> 
> When it works you'll get a WML document with 1 card in it.
> 
> Thanks for the help,
> -Nate
> 
> 
> -
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-04 Thread stoddarn

>>> -
 .htaccess
   RewriteEngine on

   RewriteCond %{HTTP_HOST} ^www.urlAA.net$ [OR]
   RewriteCond %{HTTP_HOST} ^urlAA.net$ [OR]
   RewriteCond %{HTTP_HOST} ^mm.urlAA.net$
   RewriteRule ^(.*) http://www.urlBB:8080/myservlet/$1 [R,L]
>>> -
>>>
>>> The $1 seems to be picking up the "/m/nate" part of the URL correctly.
>
> OK, the thing that strikes me about your RewriteRule is that you have
> 'www.urlBB:8080'.  It may be the way you've munged it but is this really
> the FQDN or should it really be 'www.ulrBB.net:8080' or such like?

Hello,

Good eye.  Unfortunately, you are correct; I made the typo when I munged
the URL for the post.

> Some browser will automatically try appending '.com' to the host name if
> the lookup for the host name fails.  Your phone may not be this clever.

Today, I had a friend try with his Motorola phone and he also had the same
404 error issue.  Is it possible there is some security on the phones
blocking the redirect because I'm redirecting to a completly different
URL?

Thanks for the help,
-Nate




-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-04 Thread stoddarn

> Boyle Owen wrote:

> Doesn't mean much... Could all be using the same DN server for all we
> know. I understand you being coy about revealing your actual domain name
> but in this case you are hindering people trying to help you. It is
> starting to look like a DNS issue whereby some machines on undefined
> networks are resolving urlB to the correct address while the WAP server
> that the phone connects to is resolving urlB to an address that "doesn't
> work".

Fair enough:  http://www.go2mm.net/m/nate

When it works you'll get a WML document with 1 card in it.

Thanks for the help,
-Nate


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-04 Thread Neil A. Hillard
Hi,

Boyle Owen wrote:
>>> please snip the reply appropriately where possible.
>>>
>> Sorry.
>>
>>> So what _exactly_ is the redirect that gets sent to the 
>> phone (i.e.. 
>>> is it exactly 'http://serverB/m/nate'?  It seems to me that the 
>>> redirect may be wrong.  Your PC can resolve it but the 
>> phone can't.  
>>> Have you tested the same scenario from another machine on the 
>>> Internet, not on your LAN?
>>>
>> I have tried this multiple computers on different networks.  
>> Here is my htaccess from my earlier post:
> 
> Doesn't mean much... Could all be using the same DN server for all we
> know. I understand you being coy about revealing your actual domain name
> but in this case you are hindering people trying to help you. It is
> starting to look like a DNS issue whereby some machines on undefined
> networks are resolving urlB to the correct address while the WAP server
> that the phone connects to is resolving urlB to an address that "doesn't
> work".
> 
> If you could tell us what urlB and urlA actually are, we could test it
> in about 10 seconds.
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
>> -
>>> .htaccess
>>>   RewriteEngine on
>>>
>>>   RewriteCond %{HTTP_HOST} ^www.urlAA.net$ [OR]
>>>   RewriteCond %{HTTP_HOST} ^urlAA.net$ [OR]
>>>   RewriteCond %{HTTP_HOST} ^mm.urlAA.net$
>>>   RewriteRule ^(.*) http://www.urlBB:8080/myservlet/$1 [R,L]
>> -
>>
>> The $1 seems to be picking up the "/m/nate" part of the URL correctly.

OK, the thing that strikes me about your RewriteRule is that you have
'www.urlBB:8080'.  It may be the way you've munged it but is this really
the FQDN or should it really be 'www.ulrBB.net:8080' or such like?

Some browser will automatically try appending '.com' to the host name if
the lookup for the host name fails.  Your phone may not be this clever.

HTH,


Neil.

-- 
Neil Hillard[EMAIL PROTECTED]
Westland Helicopters Ltd.   http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
views of Westland Helicopters Ltd.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-03 Thread Boyle Owen
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 04, 2006 12:01 AM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] .htaccess and WAP 1.1
> 
> > Hi,
> >
> > please snip the reply appropriately where possible.
> >
> 
> Sorry.
> 
> >
> > So what _exactly_ is the redirect that gets sent to the 
> phone (i.e.. 
> > is it exactly 'http://serverB/m/nate'?  It seems to me that the 
> > redirect may be wrong.  Your PC can resolve it but the 
> phone can't.  
> > Have you tested the same scenario from another machine on the 
> > Internet, not on your LAN?
> >
> 
> I have tried this multiple computers on different networks.  
> Here is my htaccess from my earlier post:

Doesn't mean much... Could all be using the same DN server for all we
know. I understand you being coy about revealing your actual domain name
but in this case you are hindering people trying to help you. It is
starting to look like a DNS issue whereby some machines on undefined
networks are resolving urlB to the correct address while the WAP server
that the phone connects to is resolving urlB to an address that "doesn't
work".

If you could tell us what urlB and urlA actually are, we could test it
in about 10 seconds.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> -
> >.htaccess
> >   RewriteEngine on
> >
> >   RewriteCond %{HTTP_HOST} ^www.urlAA.net$ [OR]
> >   RewriteCond %{HTTP_HOST} ^urlAA.net$ [OR]
> >   RewriteCond %{HTTP_HOST} ^mm.urlAA.net$
> >   RewriteRule ^(.*) http://www.urlBB:8080/myservlet/$1 [R,L]
> -
> 
> The $1 seems to be picking up the "/m/nate" part of the URL correctly.
> 
> Thanks,
> -Nate
> 
> 
> -
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-03 Thread stoddarn
> Hi,
>
>   please snip the reply appropriately where possible.
>

Sorry.

>
> So what _exactly_ is the redirect that gets sent to the phone (i.e.. is
> it exactly 'http://serverB/m/nate'?  It seems to me that the redirect
> may be wrong.  Your PC can resolve it but the phone can't.  Have you
> tested the same scenario from another machine on the Internet, not on
> your LAN?
>

I have tried this multiple computers on different networks.  Here is my
htaccess from my earlier post:

-
>.htaccess
>   RewriteEngine on
>
>   RewriteCond %{HTTP_HOST} ^www.urlAA.net$ [OR]
>   RewriteCond %{HTTP_HOST} ^urlAA.net$ [OR]
>   RewriteCond %{HTTP_HOST} ^mm.urlAA.net$
>   RewriteRule ^(.*) http://www.urlBB:8080/myservlet/$1 [R,L]
-

The $1 seems to be picking up the "/m/nate" part of the URL correctly.

Thanks,
-Nate


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-03 Thread Neil A. Hillard
Hi,

please snip the reply appropriately where possible.

[EMAIL PROTECTED] wrote:
>>> I tweaked the IP address, but here is what was logged when I
>>> get the 404 from my phone:
>>>
>>> 555.555.555.555 - - [02/May/2006:18:38:42 -0500] "GET /m/nate
>> ^^^
>> This is the URL the phone is requesting ^^^
>>
>> That is: http://server/m/nate
>>
>> Does it makes sense? Should it work?
> 
> 
> Yes this is the expected url, and my desktop browser can get here correctly.
> 
> In my previous examples the /m/nate is part of my "urlA" and "urlB"
> 
> urlA = http://serverA/m/nate
> urlB = http://serverB/m/nate
> 
> When I go to urlA I get redirected to urlB by my htaccess file.
> 
> If I go directly to urlB I do NOT get any errors and I can see the data on
> my cell phone.  So it appears that the 404 error with my cell phone is
> from the redirect.

So what _exactly_ is the redirect that gets sent to the phone (i.e.. is
it exactly 'http://serverB/m/nate'?  It seems to me that the redirect
may be wrong.  Your PC can resolve it but the phone can't.  Have you
tested the same scenario from another machine on the Internet, not on
your LAN?

HTH,


Neil.

-- 
Neil Hillard[EMAIL PROTECTED]
Westland Helicopters Ltd.   http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
views of Westland Helicopters Ltd.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-03 Thread stoddarn
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, May 03, 2006 1:42 AM
>> To: users@httpd.apache.org
>> Subject: Re: [EMAIL PROTECTED] .htaccess and WAP 1.1
>>
>> Hello,
>>
>> I tweaked the IP address, but here is what was logged when I
>> get the 404 from my phone:
>>
>> 555.555.555.555 - - [02/May/2006:18:38:42 -0500] "GET /m/nate
> ^^^
> This is the URL the phone is requesting ^^^
>
> That is: http://server/m/nate
>
> Does it makes sense? Should it work?


Yes this is the expected url, and my desktop browser can get here correctly.

In my previous examples the /m/nate is part of my "urlA" and "urlB"

urlA = http://serverA/m/nate
urlB = http://serverB/m/nate

When I go to urlA I get redirected to urlB by my htaccess file.

If I go directly to urlB I do NOT get any errors and I can see the data on
my cell phone.  So it appears that the 404 error with my cell phone is
from the redirect.

Thanks for the help,
-Nate


>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>
>
>
>> HTTP/1.1"
>> 404 - "-" "SIE-SL56/10 UP.Browser/6.1.0.5.c.5 (GUI) MMP/1.0
>> UP.Link/5.1.2.9"
>>
>> Thanks for the help,
>> -Nate
>>
>>
>> > On 4/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> >
>> >> When I connect with IE or Firefox to www.urlAA.net/m/nate, I get
>> >> directed to www.urlBB:8080/myservlet/m/nate.  This then lets me
>> >> download my WML data.  When I attempt to do the same with my phone
>> >> (WAP v1.1), I get a
>> >> 404
>> >> error.
>> >
>> > What messages do you see (if any) in you erro or access log
>> when you
>> > do this?
>> > Can you switch on rewritelog with a high debug level?
>> >
>> > Krist
>> >
>> > --
>> > [EMAIL PROTECTED]
>> > Solothurn, Switzerland
>> >
>> >
>> -
>> > The official User-To-User support forum of the Apache HTTP
>> Server Project.
>> > See http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >"   from the digest: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>>
>> -
>> The official User-To-User support forum of the Apache HTTP
>> Server Project.
>> See http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>"   from the digest: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
> keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This
> e-mail is of a private and personal nature. It is not related to the
> exchange or business activities of the SWX Group. Le présent e-mail est un
> message privé et personnel, sans rapport avec l'activité boursière du
> Groupe SWX.
>
>
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission. If
> you receive this message in error, please notify the sender urgently and
> then immediately delete the message and any copies of it from your system.
> Please also immediately destroy any hardcopies of the message. You must
> not, directly or indirectly, use, disclose, distribute, print, or copy any
> part of this message if you are not the intended recipient. The sender's
> company reserves the right to monitor all e-mail communications through
> their networks. Any views expressed in this message are those of the
> individual sender, except where the message states otherwise and the
> sender is authorised to state them to be the views of the sender's
> company.
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-03 Thread Boyle Owen
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 03, 2006 1:42 AM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] .htaccess and WAP 1.1
> 
> Hello,
> 
> I tweaked the IP address, but here is what was logged when I 
> get the 404 from my phone:
> 
> 555.555.555.555 - - [02/May/2006:18:38:42 -0500] "GET /m/nate 
^^^
This is the URL the phone is requesting ^^^

That is: http://server/m/nate

Does it makes sense? Should it work?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 



> HTTP/1.1"
> 404 - "-" "SIE-SL56/10 UP.Browser/6.1.0.5.c.5 (GUI) MMP/1.0 
> UP.Link/5.1.2.9"
> 
> Thanks for the help,
> -Nate
> 
> 
> > On 4/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >> When I connect with IE or Firefox to www.urlAA.net/m/nate, I get 
> >> directed to www.urlBB:8080/myservlet/m/nate.  This then lets me 
> >> download my WML data.  When I attempt to do the same with my phone 
> >> (WAP v1.1), I get a
> >> 404
> >> error.
> >
> > What messages do you see (if any) in you erro or access log 
> when you 
> > do this?
> > Can you switch on rewritelog with a high debug level?
> >
> > Krist
> >
> > --
> > [EMAIL PROTECTED]
> > Solothurn, Switzerland
> >
> > 
> -
> > The official User-To-User support forum of the Apache HTTP 
> Server Project.
> > See http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >"   from the digest: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> -
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-02 Thread stoddarn
Hello,

I tweaked the IP address, but here is what was logged when I get the 404
from my phone:

555.555.555.555 - - [02/May/2006:18:38:42 -0500] "GET /m/nate HTTP/1.1"
404 - "-" "SIE-SL56/10 UP.Browser/6.1.0.5.c.5 (GUI) MMP/1.0
UP.Link/5.1.2.9"

Thanks for the help,
-Nate


> On 4/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> When I connect with IE or Firefox to www.urlAA.net/m/nate, I get
>> directed
>> to www.urlBB:8080/myservlet/m/nate.  This then lets me download my WML
>> data.  When I attempt to do the same with my phone (WAP v1.1), I get a
>> 404
>> error.
>
> What messages do you see (if any) in you erro or access log when you do
> this?
> Can you switch on rewritelog with a high debug level?
>
> Krist
>
> --
> [EMAIL PROTECTED]
> Solothurn, Switzerland
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-02 Thread stoddarn
Hello,

I'm confused by most of your responses, but can we discuss the configuring
response more?  I'm trying to redirect users going to urlA to urlB, so I 
setup an htaccess file.  When I use a desktop browser I'm redirected,
without an issue, and I can see the WML data.  However, when I use my cell
phone I get a 404 error.

Here is my understanding about how the redirects work:

My browser The server
-
  GET urlA  -->

   <---   Response 302 (go to urlB)

  GET urlB  -->

   <---urlB data

I found an online tool that output the HTTP response header and let me
configure a User-Agent and Accept-Encoding.  What I found was I received
the 302 redirect HTTP response as expected, but the content-type was
"text/html".  I'm not 100% sure here, but I think I need the HTTP response
to be of content-type "text/vnd.wap.wml" (or something similar to that). 
Does this seem logical?  If so, any ideas how I can configure the
content-type in my htaccess file?

Thanks for the help,
-Nate


> On Monday 01 May 2006 19:10, [EMAIL PROTECTED] wrote:
>
>> I guess a better question is:  What format does Apache return to the
>> browser when a page is redirected?  Is it HTML, WAP or something else?
>
> That's entirely up to the person configuring it.
>
>> The Not_working phone's accept also has */*.   Does that effect what
>> Apache will return
>
> It may do.
>
>> on redirects?
>
> What have redirects got to do with anything?
>
>> I'm not sure why that phone would send
>> that in the accept header, since it obviously can't really support */*
>> like a standard desktop browser.
>
> Maybe it accepts */* as a download (which would be equivalent to
> a desktop system)?
>
>
>> > .htaccess
>> >   RewriteEngine on
>
> Ugh.  So you've reinvented the wheel?  No wonder it's square.
>
>
> --
> Nick Kew
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-02 Thread Krist van Besien

On 4/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


When I connect with IE or Firefox to www.urlAA.net/m/nate, I get directed
to www.urlBB:8080/myservlet/m/nate.  This then lets me download my WML
data.  When I attempt to do the same with my phone (WAP v1.1), I get a 404
error.


What messages do you see (if any) in you erro or access log when you do this?
Can you switch on rewritelog with a high debug level?

Krist

--
[EMAIL PROTECTED]
Solothurn, Switzerland

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-01 Thread Nick Kew
On Monday 01 May 2006 19:10, [EMAIL PROTECTED] wrote:

> I guess a better question is:  What format does Apache return to the
> browser when a page is redirected?  Is it HTML, WAP or something else?

That's entirely up to the person configuring it.

> The Not_working phone's accept also has */*.   Does that effect what
> Apache will return

It may do.

> on redirects?

What have redirects got to do with anything?

> I'm not sure why that phone would send  
> that in the accept header, since it obviously can't really support */*
> like a standard desktop browser.

Maybe it accepts */* as a download (which would be equivalent to
a desktop system)?


> > .htaccess
> >   RewriteEngine on

Ugh.  So you've reinvented the wheel?  No wonder it's square.


-- 
Nick Kew

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] .htaccess and WAP 1.1

2006-05-01 Thread stoddarn
Hello,

I guess a better question is:  What format does Apache return to the
browser when a page is redirected?  Is it HTML, WAP or something else?

I did some more experimenting with another person's cell phone, and I
found that their phone did NOT get the 404 message.  Here are the WAP
profiles of the phones:
 Not_working phone :  
http://communication-market.siemens.de/UAProf/SL56_10.xml
 Working phone :  
http://motorola.handango.com/phoneconfig/v300/profile/v300.rdf

Not_working phone's supported versions:
 HTML  = 4.0
 XHTML = 1.0
 WAP   = 1.2

Working phone's supported versions:
 HTML  = none
 XHTML = 1.1
 WAP   = 2.0

I looked at the accept headers from the phones, and most of the ones I
expected to see where there for both phones.
 text/html
 application/xhtml+xml
 application.vnd.wap.wmlc
 application.vnd.wap.wmlscriptc
 application.vnd.wap.xhtml+xml

The Not_working phone's accept also has */*.   Does that effect what
Apache will return on redirects?  I'm not sure why that phone would send
that in the accept header, since it obviously can't really support */*
like a standard desktop browser.

If I've posted in the wrong list, please let me know.

Thank you for the help,
-Nate



> Hello,
>
> I'm having trouble rewriting URLs with my .htaccess file when I connect
> using a WAP 1.1 phone.  I've looked around and found a number of postings
> about configuring Apache for access to index.wml, but I just want to have
> a rewrite no matter what browser I connect with.  Any ideas of how to get
> this to work or suggestions on better approaches would be greatly
> appreciated.
>
> Here's my current .htaccess:
>
> .htaccess
>   RewriteEngine on
>
>   RewriteCond %{HTTP_HOST} ^www.urlAA.net$ [OR]
>   RewriteCond %{HTTP_HOST} ^urlAA.net$ [OR]
>   RewriteCond %{HTTP_HOST} ^mm.urlAA.net$
>   RewriteRule ^(.*) http://www.urlBB:8080/myservlet/$1 [R,L]
>
> When I connect with IE or Firefox to www.urlAA.net/m/nate, I get directed
> to www.urlBB:8080/myservlet/m/nate.  This then lets me download my WML
> data.  When I attempt to do the same with my phone (WAP v1.1), I get a 404
> error.
>
> I was able to get my phone to connect by "hacking" my .htaccess file:
>
> .htaccess   #2
>   RewriteEngine on
>
>   RewriteCond %{HTTP_HOST} ^www.urlAA.net$ [OR]
>   RewriteCond %{HTTP_HOST} ^urlAA.net$ [OR]
>   RewriteCond %{HTTP_HOST} ^mm.urlAA.net$
>   RewriteRule ^(.*) http://www.urlBB:8080/myservlet/m/nate [R,L]
>
> Now my browsers and my phone can successfully access the data.  However,
> the "nate" part of the URL is a username field.  This means I can't
> hardcode it to nate in the .htaccess file because it will be different for
> each user.
>
> Am I missing something simple here?
>
> Thank you for the help,
> -Nate
>
>
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]