# First look in pub; if the file is found then processing stops; if not found, move to the # next condition/ruleset. RewriteCond /pub/%{REQUEST_FILENAME} -fRewriteRule ^(.+) /pub/$1 [L] # Next move to the serve directory. If the file is found stop processing. If the file # is not found move on to the next condition/ruleset. RewriteCond /serve/%{REQUEST_FILENAME} -fRewriteRule ^(.+) /serve/$1 [L] # Next move to the ext directory. If the file is found stop processing. If the file # is not found move to the last rule. RewriteCond /ext/%{REQUEST_FILENAME} -fRewriteRule ^(.+) /ext/$1 [L] # If file is not found in any of the above, move on to other standard Apache processing. RewriteRule ^(.+) - [PT] |