multiple rewrite rules

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

 



 I have been trying without success to rewrite multiple css files with on RewriteCond.  Here is my latest attempt to give y'all an idea of what I am trying to do.  

Please help.

Thanks.

RewriteEngine on
  RewriteLog /var/log/httpd-rewrite.log
  RewriteLogLevel 2
  RewriteCond %{HTTP_USER_AGENT}  .Windows.*Firefox\/3.*
  RewriteRule ^/styles/progclean.css     http://progressive.trustedtechpro.com/styles/winff3/progclean.css
  RewriteRule ^/styles/terms.css     http://progressive.trustedtechpro.com/styles/winff3/terms.css  [L]
  RewriteCond %{HTTP_USER_AGENT}  .MSIE\ 7.*
  RewriteRule ^/styles/progclean.css     http://progressive.trustedtechpro.com/styles/winie7/progclean.css
  RewriteRule ^/styles/terms.css     http://progressive.trustedtechpro.com/styles/winie7/terms.css  [L]
  RewriteRule ^/styles/progclean.css     http://progressive.trustedtechpro.com/styles/unsupported/progclean.css
  RewriteRule ^/styles/terms.css     http://progressive.trustedtechpro.com/styles/unsupported/terms.css  [L]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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