Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ solved ] Mobile Interface
#2
This article worked for me:


https://www.howtoforge.com/apache2-how-to-redirect-users-to-mobile-or-normal-web-site-based-on-device-using-mod_rewrite

I copied the htaccess.txt file in coreBOS to .htaccess

I added this section to the .htaccess file

Code:
<IfModule mod_rewrite.c>

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|opera mobile|palmos|webos" [NC]
RewriteRule ^$ Mobile.php
</IfModule>

I set AllowOveride to All in apache configuration file
I activated the rewrite module in Apache
I restarted Apache

HTH
Joe
TSolucio
Reply


Messages In This Thread
[ solved ] Mobile Interface - rslemer - 02-12-2023, 01:42 PM
RE: Mobile Interface - joebordes - 02-25-2023, 01:16 PM
RE: Mobile Interface - rslemer - 02-25-2023, 03:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)