Re: RewriteCond

2015-05-31 Thread Christopher Schultz
/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

RewriteCond

2015-05-30 Thread Frank Lehmann
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

Re: RewriteCond

2015-05-30 Thread Daniel Mikusa
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

Re: RewriteCond

2015-05-27 Thread Daniel Mikusa
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

Re: RewriteCond

2015-05-26 Thread Daniel Mikusa
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

RewriteCond

2015-05-26 Thread Frank Lehmann
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

Re: RewriteCond

2015-05-26 Thread Christopher Schultz
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

Re: RewriteCond

2015-05-25 Thread Hassan Schroeder
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

RewriteCond

2015-05-25 Thread Frank Lehmann
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