Index: .htaccess =================================================================== RCS file: /cvs/drupal/drupal/.htaccess,v retrieving revision 1.73 diff -u -r1.73 .htaccess --- .htaccess 14 Apr 2006 09:08:26 -0000 1.73 +++ .htaccess 3 Aug 2006 03:25:07 -0000 @@ -8,6 +8,12 @@ Deny from all +# Handle files that should not be handled by Drupal, +# so a) no bootstrapping happens, and b) 404 error is less bytes + + ErrorDocument 404 default + + # Set some options. Options -Indexes Options +FollowSymLinks @@ -82,6 +88,8 @@ # Rewrite current-style URLs of the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d + # Handle 404s for non Drupal files. See above. + RewriteCond %{REQUEST_FILENAME} !\.(gif|jpe?g|s?html|css|js|cgi)$ RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]