4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 mod_rewrite help
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
jeffro21
Junior WebHelper
Junior WebHelper


Joined: 24 Jan 2008
Posts: 1

PostPosted: Thu Jan 24, 2008 7:42 pm (16 years, 2 months ago) Reply with QuoteBack to Top

I am trying to use the following rules and conditions, but for some reason the line RewriteRule ^section/news$ /cms/mobile/section.php?id=1 [L] does not work.

Anyone have any ideas?

RewriteCond %{HTTP_USER_AGENT} "Windows CE" [NC,OR] #Windows CE and Pocket PC
RewriteCond %{HTTP_USER_AGENT} "Opera Mini" [NC,OR] #Opera Mini
RewriteCond %{HTTP_USER_AGENT} "NetFront" [NC,OR] #PalmSource WebBrowser 2.0
RewriteCond %{HTTP_USER_AGENT} "Palm OS" [NC,OR] #Eudora Web Browser for Palm
RewriteCond %{HTTP_USER_AGENT} "Blazer" [NC,OR] #Handspring Blazer Browser
RewriteCond %{HTTP_USER_AGENT} "Elaine" [NC,OR] #RIM Devices
RewriteCond %{HTTP_USER_AGENT} "BlackBerry.*$" [NC,OR] #RIM Devices
RewriteCond %{HTTP_USER_AGENT} "^WAP.*$" [NC,OR] #WAP Browsers
RewriteCond %{HTTP_USER_AGENT} "Plucker" [NC,OR] #Plucker Offline download client
RewriteCond %{HTTP_USER_AGENT} "AvantGo" [NC] #AvantGo Service
RewriteRule ^section/news$ /cms/mobile/section.php?id=1 [L]
RewriteCond %{REQUEST_URI} !^/cms/mobile
RewriteRule .* /cms/mobile [L]
OfflineView User's ProfileFind all posts by jeffro21Send Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.132416 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme