.htaccess取消阻止重定向获取请求

时间:2018-01-03 16:24:25

标签: .htaccess redirect get

在我的新表单上发出GET请求时,我遇到了重定向问题。

在现有主机上,我添加了一个域来添加一些表单。

我的树是: - www - apps.monsite.com - b3web - .htaccess

我不会把你,但这是与我的问题有关的元素。

这是我的.htaccess

的内容
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/b3web
RewriteRule ^(.*)$ /b3web/$1

RewriteCond %{HTTP_HOST} ^(www.)?site.fr$
RewriteRule ^(/)?$ b3web/index.php [L]

RewriteCond %{HTTP_HOST} ^(www.)?site.com$
RewriteRule ^(/)?$ b3web/index.php [L]

当我使用网址类型http://apps.mysite.com/monform.php访问我的新表单时,它显示正确。如果我添加"? Uuid = jlerjlrjklr"我收到以下重定向错误:

Not Found
The requested URL /b3web/apps.monsite.com/bonsav.php&uuid=euiorprt was not found on this server.

这是"正常"因为表格不在" b3web"目录,我不明白为什么它正在进行此重定向。如何在不破坏其他网站的情况下阻止此重定向?

提前致谢

文森特

0 个答案:

没有答案