处理GET与htaccess的 [英] Handling GET with htaccess

查看:189
本文介绍了处理GET与htaccess的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的.htaccess文件重定向所有URL的index.php URL = $ 1中所示:

I have my .htaccess file redirecting all URLs to index.php?url=$1 as shown below:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?url=$1 [L]

但是,当网址验证code = blahblahblah的code =部分没有拉到,因此,这意味着我不能访问它处理第D时:??任何帮助

But when the url is authenticate?code=blahblahblah the code= part is not pulled in, therefore meaning I cannot access it when handling the page D: Any help?

推荐答案

您需要的 [QSA] 的标志呢。

You need the [QSA] flag then.

这篇关于处理GET与htaccess的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆