htaccess 文件命名法在 IE 中打开弹出窗口时产生问题
我的 htaccess 文件命名法在 IE 中打开窗口时出现问题
已编辑
我必须打开一个不需要在弹出窗口中打开的颜色选择器,我
window.open('picker.html', null, "help=no,status=no,
scrollbars=no,resizable=no,toolbar=
no" + move + ",width=" + w + ",height=" + h + ",dependent=yes", true);
的基本网址如下所示:
并且 htaccess 文件重写了 http://www.mydomain.com/30/
但是当我想在 IE 中打开弹出窗口时,htaccess 不起作用,并给我 url 作为 http://www.mydomain.com/30/picker.html
因此我得到的消息是损坏的链接或未找到 没有名为“30”的文件夹,路径必须类似于 http://www.mydomain.com /picker.html
特定页面的重写规则如下:
重写规则 ^30/order-vinyl-banners.html order_form.php?id=30 [NC]
为什么会发生这种情况.. 请帮我追踪它..
My htaccess file nomenclature creating problem in opening a window in IE
EDITED
I have to open a colour picker which needs t be opened in popup, and I have
window.open('picker.html', null, "help=no,status=no,
scrollbars=no,resizable=no,toolbar=
no" + move + ",width=" + w + ",height=" + h + ",dependent=yes", true);
my base url goes like this:
and the htaccess file has rewritten the above url from http://www.mydomain.com/30/
but when i wish to open the popup in IE the htaccess doesnt work for it and gives me url as http://www.mydomain.com/30/picker.html
and hence i get msg as broken link or NOT FOUND
there is no such folder called "30" the path has to be like http://www.mydomain.com/picker.html
The rewrite rule of the particular page goes like this:
RewriteRule
^30/order-vinyl-banners.html
order_form.php?id=30 [NC]
why is it happening..
please help me to track it..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果你想显示
http://www.example.com/picker.html
,你需要告诉open()
函数。现在,您告诉它“打开相对于我当前所在位置的 URLpicker.html
”,但您希望“打开相对于根目录的picker.html
” ”。试试这个:If you want to show
http://www.example.com/picker.html
, you need to tell theopen()
function so. Right now you're telling it "Open the URLpicker.html
relative to where I'm currently at", but you want "Openpicker.html
relative to the root". Try this instead: