ModRewrite f. Mobile-Systeme + Desktop-Version - 09/03/2017

HTTP_HOST: desktop.hth-c.com (Desktop-Version)
HTTP_ACCEPT: */*
HTTP_USER_AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

SERVER: 85.13.163.44:80 - Apache, PHP-Version: 7.2.34-nmm11


.htaccess - ModRewrite - Test

.htaccess - ModRewrite - Test

.htaccess - ModRewrite - Test

.htaccess - ModRewrite - Test

.htaccess - ModRewrite - Test
.htaccess - ModRewrite - Test

# ModRewrite f. Mobile-Systeme + Desktop-Version - 09/03/2017 - SOC
# URL: http://www.hth-c.com/forum/4950/auftrag-mobile-phpkit-version/entries-90/#post33038

  
RewriteEngine On
  Options FollowSymLinks

  
# Auf Mobile-Version umleiten, sofern Mobiles-System gegeben
  
RewriteCond %{HTTP_HOST} !^mobile\.hth-c\.com [NC]
  
RewriteCond %{HTTP_ACCEPT"text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml" [NC,OR]
  
RewriteCond %{HTTP_USER_AGENTiPhone|iPad|iPod|Android|BlackBerry|PlayBook|Kindle|Kindle_Fire|Windows_Phone|Phone
  RewriteRule 
^(.*)$ http://mobile\.hth-c\.com%{REQUEST_URI} [NC,L]

  # Auf Desktop-Version umleiten, sofern kein Mobiles-System verwendet
  
Rewritecond %{HTTP_HOST} !^desktop\.hth-c\.com [NC]
  
RewriteCond %{HTTP_USER_AGENT} ^(?:(?!iPhone|iPad|iPod|Android|BlackBerry|PlayBook|Kindle|Kindle_Fire|Windows_Phone|Phone).)*$
  
RewriteRule ^(.*)$ http://desktop\.hth-c\.com%{REQUEST_URI} [NC,L]

# ModRewrite f. Mobile-Systeme + Desktop-Version - 09/03/2017 - EOC