blob: 3306551b469530a5b5f95a533533ee2c33172ef2 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Sets up rewrite rules to have the devserver handle any requests that
# don't map to an actual file.
RewriteEngine on
# Remove archive from any static/archive paths.
RewriteCond %{REQUEST_URI} ^/static/archive
RewriteRule ^static/archive(.*)$1 [proxy]
# Re-direct any non-static requests to the devserver on 8080.
RewriteCond %{REQUEST_URI} !^/static
RewriteRule ^(.*)$1 [proxy]