Php RealScript文件名将ReqSube视为Live Server中的真实文件,但在本地将其视为非文件。
我有这个权限Php RealScript文件名将ReqSube视为Live Server中的真实文件,但在本地将其视为非文件。,php,apache,.htaccess,mod-rewrite,url-rewriting,Php,Apache,.htaccess,Mod Rewrite,Url Rewriting,我有这个权限 <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(mdiet|user)($|/) - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [NC] RewriteRule ^(.*)$ route.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(mdiet|user)($|/) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [NC]
RewriteRule ^(.*)$ route.php?q=$1 [NC,QSA,L]
</IfModule>
在localhost中调用此url时:http://localhost:8080/comm_cvs/comm/web/group_items
htaccess不知道group_items不是文件,将请求重定向到route.php,一切正常
但当将代码移动到服务器时:行为并不像我们预期的那样
当调用:www. MySist.COM/GROPYBITS=> HTAccess时,将其视为文件,直接转到GypPix.Eph.php,而不重定向到Real.php.< live server有什么问题