httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] .htaccess and WAP 1.1
Date Fri, 05 May 2006 04:43:15 GMT

>>> -----
>>>> .htaccess
>>>>   RewriteEngine on
>>>>   RewriteCond %{HTTP_HOST} ^$ [OR]
>>>>   RewriteCond %{HTTP_HOST} ^$ [OR]
>>>>   RewriteCond %{HTTP_HOST} ^$
>>>>   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 '' or such like?


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

Thanks for the help,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message