Word的“索引”由Apache的mod_rewrite奇怪地处理。 为什么?

Hellp everyone.

I have such an .htaccess file:

<IfModule mod_rewrite.c>
 RewriteEngine On

 # Modify the RewriteBase if rewrite rules are not working properly.
 RewriteBase /

 RedirectMatch 404 /(php\.ini|core\.php|config\.php|modules)(/|$)


 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_URI} !=/favicon.ico
 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

When I try to use URLs such as "index/desktop" I've got nothing in PHP $_REQUEST array, but after changing this URL to "desktop" everything works correctly.

I suppose that this behaviour is connected with index.php rule, but don't have clear understanding of what's happening.

Add

RewriteRule ^index\.php$ - [L]

above

RewriteCond %{REQUEST_FILENAME} !-f

Try turning off the MultiViews option.