Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- I Need Multiple Mod Rewrite Rules for two mobile sites


TurboCoder3000 - 9:46 am on Feb 28, 2013 (gmt 0)



Looking at the rest of the Conditions, several are mutually exclusive or redundant. In particular,

RewriteCond %{REQUEST_URI} !\.*(jpg|png|css|this|that|otherthing)$ [NC]
RewriteCond %{REQUEST_URI} ^/$

say "Redirect if this is NOT a request for an image or css, in fact redirect ONLY when root / is requested".

So, which is it: "not images and css" or "only root"?


I am not entirely sure - I didn't write the original code and don't have access to the original developer to find out.

I would imagine it's a redirect when root / is requested only, since this would override just about any image request below the root, correct?


Thread source:: http://www.webmasterworld.com/apache/4549760.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com