Signed-off-by: Bill Erickson <berick@esilibrary.com>
# is redirected to the index. This allows us to
# map multiple routes to the same application.
RewriteEngine On
- RewriteCond %{REQUEST_URI} !t_*
- RewriteCond %{REQUEST_URI} !index
- RewriteRule (.*) /eg/staff/index [L,DPI]
+ RewriteCond %{PATH_INFO} !/staff/index
+ RewriteCond %{PATH_INFO} !/staff/t_*
+ RewriteRule .* /eg/staff/index [L,DPI]
</Location>
# Uncomment the following to force SSL for everything. Note that this defeats caching
# is redirected to the index. This allows us to
# map multiple routes to the same application.
RewriteEngine On
- RewriteCond %{REQUEST_URI} !t_*
- RewriteCond %{REQUEST_URI} !index
- RewriteRule (.*) /eg/staff/index [L,DPI]
+ RewriteCond %{PATH_INFO} !/staff/index
+ RewriteCond %{PATH_INFO} !/staff/t_*
+ RewriteRule .* /eg/staff/index [L,DPI]
</Location>