關於TPshop2 0訪問內頁跳轉首頁問題

2021-07-28 02:46:20 字數 653 閱讀 5571

原因在於空間所使用的php是fast_cgi模式,而在某些情況下, 不能正確識別path_info所造成的錯誤

摘抄自:

此處使用**空間來自90起航(非廣告)

tpshop2.0根目錄.htaccess

原:

options

+followsymlinks -multiviews

rewriteengine

onrewritecond

% !-d

rewritecond

% !-f

rewriterule

^(.*)$ index.php?/$1

[qsa,pt,l]

修改後可以正常使用的:

options

+followsymlinks -multiviews

rewriteengine

onrewritecond

% !-d

rewritecond

% !-f

rewriterule

^(.*)$ index.php/$1

[qsa,pt,l]

使用EnterPrise2 0封裝的資料訪問類

在專案開發中,資料庫的訪問是乙個最基本的操作,於是在專案開發中,總結出了乙個資料庫訪問類,使用的enterprise library 2.0 如下 using system using system.collections.generic using system.text using system...

關於jquery的20個問題

1 在乙個表單中,想要找到指定元素的第乙個元素用first實現,第二個元素用 實現。2 有這樣一段html 要想選中這乙個文字框,相應的jquery 為 3 jquery方法在對jquery物件執行所需操作後返回 4 假設頁面有乙個檢視按鈕 要將按鈕設定為不可見,執行的jquery語句為 5 在jq...

關於A20位址線

作業系統又實模式進入保護模式之前要開啟 a20位址線。那麼什麼是 a20 在8086 8088 中,有20 跟位址線。所以定址範圍是 2 20 1m 但8086 8088是16 位的位址模式,即只能表示 ffffh 64k 的範圍。為了能訪問 1m的記憶體採取了分段的模式。16 位段基址 16位偏移...