重写规则 与管理文件冲突


Rewrite Rules Conflict with admin file?

对不起,我的英语不好 下面是我的htaccess完整文件 我对重写规则知之甚少,我的所有链接在索引周围都可以正常工作.php但是如果当我想执行我的admin.php文件时,它不允许我去那里,但是如果我禁用了这一行(RewriteRule ^([^/]+)/?$ index.php?页面=$1 [L,QSA]) 在 htaccess 文件中,它可以工作,我很困惑?

<IfModule mod_rewrite.c>
# Enable mod_rewrite
RewriteEngine On
# Specify the folder in which the application resides.
# Use / if the application is in the root.
RewriteBase /induspkm
# Rewrite to correct domain to avoid canonicalization problems
# RewriteCond %{HTTP_HOST} !^www'.example'.com
# RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
# Rewrite URLs ending in /index.php or /index.html to /
RewriteCond %{THE_REQUEST} ^GET' .*/index'.(php|html?)' HTTP
RewriteRule ^(.*)index'.(php|html?)$ $1 [R=301,L]
#Redirect static pages based on page name
RewriteRule ^([^/]+)/page-([0-9]+)/?$ index.php?Page=$1&PageNo=$2 [L,QSA] 
RewriteRule ^([^/]+)/?$ index.php?Page=$1 [L,QSA]
# Rewrite images category pages
RewriteRule ^([^/]+)/.*([0-9]+)/page-([0-9]+)/?$ index.php?Page=$1&ImageCategoryId=$2&PageNo=$3 [L,QSA]
RewriteRule ^([^/]+)/.*([0-9]+)/?$ index.php?Page=$1&ImageCategoryId=$2 [L,QSA]
</IfModule> 
# Set the default 500 page for Apache errors
ErrorDocument 500 /induspkm/500.php
#Set the defualt 404 error page
ErrorDocument 404 /induspkm/404.php

根据页面名称行在静态页面 #Redirect 上方插入此规则:

# skip all files and directories from rewrite rules below
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ - [L]