Rewrite url for missing resource

Posted by Anthony Faull on Stack Overflow See other posts from Stack Overflow or by Anthony Faull
Published on 2010-05-22T11:18:12Z Indexed on 2010/05/22 11:20 UTC
Read the original article Hit count: 240

Filed under:
|

For each web request (file or directory) that doesn't start with /en-US/, I want to serve up the original resource if it exists, otherwise serve up the /en-US/ version.

How would I do this using rewrite rules in a .htaccess file?

© Stack Overflow or respective owner

Related posts about apache

Related posts about mod-rewrite