Project

General

Profile

« Previous | Next » 

Revision 8405

web/**/.htaccess: RewriteOptions: Removed inherit because if the destination is not found in the current dir, a 404 should be returned instead of trying to invoke the parent dir's fallback handler (which applies only to paths in the parent dir). Ideally, we would use InheritBefore to get the subdomain preprocessing, etc., but the parent dir's fallback handler would still need to be turned off somehow when the rule was being run by a subdir.

View differences:

.htaccess
8 8
### mod_rewrite
9 9

  
10 10
RewriteEngine on
11
RewriteOptions AllowNoSlash inherit
11
RewriteOptions AllowNoSlash
12 12

  
13 13
# remove www subdomain
14 14
RewriteCond %{HTTP_HOST} ^www\.(.*)$

Also available in: Unified diff