02-25-2023, 01:16 PM
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
I set AllowOveride to All in apache configuration file
I activated the rewrite module in Apache
I restarted Apache
HTH
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
TSolucio