所以我已经在我的apache conf文件中设置了
that.OnCellEditingStop = new Event('cell-editing-stop');
$('#gridContainer').trigger('cell-editing-stop');
我在example.com/database上有一个phpmyadmin设置,我也有一个REST API设置,其中诸如example.com/records/DELETE/{id}之类的东西会引导您到example.com/index.php进行索引。 php处理网址解析
我希望发生的是在example.com/database中输入内容将使我进入phpmyadmin实例(基本上忽略了其他重写规则)
如果不是example.com/database,则应转到example.com/index.php
感谢约瑟夫
答案 0 :(得分:0)
您可以提供条件以重定向所有不是您的数据库URL的内容。
RewriteCond %{REQUEST_URI} !^/database/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /index.php [QSA,L]