簡體   English   中英

htaccess文件命名法在IE中打開彈出窗口時產生問題

[英]htaccess file nomenclature creating problem in opening a popup window in 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);

我的基本網址是這樣的:

http://www.mydoamin.com/

並且htaccess文件已從http://www.mydomain.com/30/重寫了上述網址

但是,當我希望在IE中打開彈出式窗口時,htaccess不適用於它,並且給我的網址為http://www.mydomain.com/30/picker.html

因此,我將味精作為斷開的鏈接或未找到,因此沒有這樣的文件夾“ 30”,路徑必須像http://www.mydomain.com/picker.html

特定頁面的重寫規則如下:

RewriteRule ^ 30 / order-vinyl-banners.html order_form.php?id = 30 [NC]

為什么會發生..請幫助我進行跟蹤..

如果要顯示http://www.example.com/picker.html ,則需要告訴open()函數。 現在你告訴它“打開URL picker.html相對於目前我在哪里”,但你要“打開picker.html相對於根”。 嘗試以下方法:

window.open('/picker.html', null,
        "help=no,status=no,scrollbars=no,resizable=no,toolbar=no"
        + move + ",width=" + w + ",height=" + h + ",dependent=yes", true);

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM