Re: .htaccess mobil client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12.01.2018 22:23, Gokan Atmaca wrote:
Hello

I am redirecting Apache mobile clients to the mobile site.
But the files like cs,js,font,img are not working.

Can you help with this ?

config:
 
RewriteCond %{HTTP_USER_AGENT} ^.*(android|iPhone).*$ [NC]
RewriteRule ^ /msite/$1 [R=301,L]
what is $1?

this should be something like

RewriteRule ^(.*)$ /msite$1 [L,R=301]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux