/lists.html
Reply inline like this or at the bottom. -- See above.
Second, what is the mistake you're referring to? -- I explained,
that the words, which are in the condpattern valvue do not
match.
Third, we don't know. -- I have this rewritecond set: RewriteCond
%{HTTP_USER_AGENT}
(android
not
match.
Third, we don't know.
-- I have this rewritecond set:
RewriteCond %{HTTP_USER_AGENT}
(android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|mobile|palmos|webos)
So, my opinion is, that any word of the string from the user-agent will match
the string set in the third value
explained, that the words, which are in the condpattern valvue do not
match.
Third, we don't know.
-- I have this rewritecond set:
RewriteCond %{HTTP_USER_AGENT}
(android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|mobile|palmos|webos)
So, my opinion is, that any word of the string
On Tue, May 26, 2015 at 12:12 PM, Frank Lehmann frank-lehm...@freenet.de
wrote:
Hi Dan,
First, please don't top post. Reply inline like this or at the bottom.
you are right, i have used this documentation for setting the rewrite rule.
This doc has is mistake in placing the
on the internet.
https://tomcat.apache.org/tomcat-8.0-doc/rewrite.html
Thanks for help.
RewriteCond %{HTTP_USER_AGENT}
(android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|mobile|palmos|webos)
[NC]
RewriteRule ^(.+)$ http://www.dashandwerk.net/mobile/ [L]
Where / how did you attempt
Hi Dan,
you are right, i have used this documentation for setting the rewrite rule.
This doc has is mistake in placing the rewrite.config file, but i solved it.
My problem is, that the test condition never works.
Every test rule is ignored.
So what is the reason why every test condition is
tested many conditions.
How can i rewrite a url when a mobile client is getting my homepage
? Thanks for help.
RewriteCond %{HTTP_USER_AGENT}
(android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|mobile
|palmos|webos)
[NC]
RewriteRule ^(.+)$ http://www.dashandwerk.net/mobile
On Mon, May 25, 2015 at 8:30 AM, Frank Lehmann frank-lehm...@freenet.de wrote:
I found this condition on the web after several searchings.
RewriteCond %{HTTP_USER_AGENT}
(android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|mobile|palmos|webos)
[NC]
RewriteRule ^(.+)$ http
homepage ?
Thanks for help.
RewriteCond %{HTTP_USER_AGENT}
(android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|mobile|palmos|webos)
[NC]
RewriteRule ^(.+)$ http://www.dashandwerk.net/mobile/ [L]
My environment.
Tomcat 8
Windows 2012 R2
Homepage under folder webapps/root