VS2008建立的檔案預設都是UTF-8編碼

但是早期的校務系統是big5編碼

在UTF-8網頁裡嵌入iframe  抓big5的網頁  中文參數要經過轉換

原先

Server.UrlEncode(); 轉換出來的都是UTF-8 Url碼

liuchiu 發表在 痞客邦 留言(0) 人氣()

傳統的NETWORK SERVICE似乎沒什麼用
要新增具有寫入權限的應該是IIS虛擬帳戶

資料夾內容=>安全性=>編輯=>新增=>輸入物件名稱來選取

IIS AppPool\站台的應用程式集區

檢查名稱=>確定

liuchiu 發表在 痞客邦 留言(0) 人氣()

ubuntu 8.04 LTS

升級過程中套件相依性失常

導致shared-mime-info一直無法安裝成功

解決方式:

1. sudo gedit /var/lib/dpkg/status

liuchiu 發表在 痞客邦 留言(0) 人氣()

browseable = yes

MAC才連得上 冏

liuchiu 發表在 痞客邦 留言(0) 人氣()

ubuntu 10.4所安裝的MySQL

預設值下在校內任何網段皆可以連線

但是校外連線卻一直出現

'Can not connect to MySQL server at 'reading authorization packet', system error: 2

的鳥錯誤訊息

liuchiu 發表在 痞客邦 留言(0) 人氣()

killall mysqld
# mysqld_safe --skip-grant-tables&
#mysql mysql
mysql > UPDATE user SET password=password('New Password') where user='root';
mysql > FLUSH PRIVILEGES;

liuchiu 發表在 痞客邦 留言(0) 人氣()

sudo apt-get autoremove --purge mysql-server mysql-server-5.0
sudo apt-get install mysql-server

liuchiu 發表在 痞客邦 留言(0) 人氣()

cd /etc/apache2/mods-enabled/ 

ln -s /etc/apache2/mods-available/rewrite.load rewirte.load

把mods-available裡面的設定檔做個軟連結到mods-enabled即可

liuchiu 發表在 痞客邦 留言(0) 人氣()

<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800"/>
</requestFiltering>

liuchiu 發表在 痞客邦 留言(0) 人氣()

預設路徑是在:

C:\Documents and Settings\本機帳號\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache

在捷徑的啟動參數加上:

--disk-cache-dir="R:\TEMP\Chrome"

liuchiu 發表在 痞客邦 留言(1) 人氣()

【8.10之前的版本】

8.10之前的版本ipv6還是模組的階段,關閉模組就可以了

1.

vi /etc/modprobe.d/aliases

把 alias net-pf-10 ipv6 這行註解起來

liuchiu 發表在 痞客邦 留言(0) 人氣()

修改設定檔:

#vi /etc/udev/rules.d/70-persistent-net.rules

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"# PCI device 0x8086:0x1050 (e100)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"# PCI device 0x8086:0x1026 (e1000)

liuchiu 發表在 痞客邦 留言(0) 人氣()

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。