Witam,
tak jak w temacie mam problem ze swoja witryną w internecie, wszystko ładnie działa na stronie mobilnej jeżeli wejdziemy na nią z poziomu komputera, schody zaczynają się gdy wejdziemy przez telefon, otóż strona nie potrafi wczytać zdjęć z folderu DEKSTOPOWEGO.
RewriteEngine on # Set an environment variable for http/https. # RewriteCond %{HTTPS} =on # RewriteRule ^(.*)$ - [env=ps:https] # RewriteCond %{HTTPS} !=on # RewriteRule ^(.*)$ - [env=ps:http] # Check if m=1 is set and set cookie 'm' equal to 1. #RewriteCond %{QUERY_STRING} (^|&)m=1(&|$) #RewriteRule ^ - [CO=m:1:ambinet.net.pl] # Check if m=0 is set and set cookie 'm' equal to 0. #RewriteCond %{QUERY_STRING} (^|&)m=0(&|$) #RewriteRule ^ - [CO=m:0:ambinet.net.pl] # Cookie can't be set and read in the same request so check. #RewriteCond %{QUERY_STRING} (^|&)m=0(&|$) #RewriteRule ^ - [S=1] # Check if this looks like a mobile device. RewriteCond %{HTTP:x-wap-profile} !^$ [OR] RewriteCond %{HTTP_USER_AGENT} "acs|alav|alca|amoi|audi|aste|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "dang|doco|eric|hipt|inno|ipaq|java|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|opwv" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "palm|pana|pant|pdxg|phil|play|pluc|port|prox|qtek|qwap|sage|sams|sany" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|w3cs|wap-|wapa|wapi" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "wapp|wapr|webc|winw|winw|xda|xda-" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "up.browser|up.link|windowssce|iemobile|mini|mmp" [NC,OR] RewriteCond %{HTTP_USER_AGENT} "symbian|midp|wap|phone|pocket|mobile|pda|psp" [NC] RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC,OR] RewriteCond %{HTTP:Profile} !^$ # Check if we're not already on the mobile site. RewriteCond %{REQUEST_URI} !^/mobile # Check if cookie is not set to force desktop site. #RewriteCond %{HTTP_COOKIE} !^.*m=0.*$ [NC] # Now redirect to the mobile site preserving http or https. RewriteRule ^ http://ambient.net.pl/mobile [NC,L] # Check if this looks like a desktop device. #RewriteCond %{HTTP_USER_AGENT} "!(android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile)" [NC] # Check if we're on the mobile site. #RewriteCond %{REQUEST_URI} ^/mobile.*$ [NC] # Check if cookie is not set to force mobile site. #RewriteCond %{HTTP_COOKIE} !^.*m=1.*$ [NC] # Now redirect to the mobile site preserving http or https. #RewriteRule ^ %{ENV:ps}://ambient.net.pl%{REQUEST_URI} [NC,L,R=301]