[root@localhost ~]# vi .htaccess php_flag error_reporting = E_ALL php_flag display_errors = Off
出處: php_flag in .htaccess
[root@localhost ~]# vi .htaccess php_flag error_reporting = E_ALL php_flag display_errors = Off
[root@local ~]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh'. Enter passphrase (empty for no passphrase): <- 不用輸入 Enter same passphrase again: <- 不用輸入 Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 7e:16:f4:57:87:5c:60:be:91:70:82:ac:cc:a9:95:74 root@localhost.localdomain
[root@local ~]# scp /root/.ssh/id_dsa.pub root@remote:/root/.ssh/id_dsa.pub root@remote 's password: id_dsa.pub 100% |*****************************| 718 00:00
[root@remote ~]# cat /root/.ssh/id_dsa.pub >> /root/.ssh/authorized_keys
[root@local ~]# ssh root@remote
親愛的 xxxxxxxxx 您好:
您使用的 Giga Mail 服務即將到期,請先確認您的點數餘額,因本公司營運方向調整,
自2008/10/30起Gpass Mail已停止銷售,故服務到期後您的電子信箱將無法繼續使用,請您注意
以下情況:
1.若您的剩餘點數為「0」,很抱歉本公司因上述原因無法繼續提供您續訂Mail服務,
請您於服務到期前完成檔案備份,避免造成資料遺失,並記得通知親友信箱變更事宜,
造成您的不便,尚祈見諒!
2.若您的剩餘點數為「1以上」,但不足以續購下一年度的Mail服務,請您來信 客服中心,
我們將有專人為您處理。
以下列出您即將到期的 Giga Mail 服務 內容。
※帳號 : xxxxxxxx
※服務內容 : Giga Mail - Gpass會員 50MB 信箱網路型一年份
※起始日 : 2008/10/xx
※到期日 : 2009/10/xx
※您目前在G點中心的剩餘點數 : 0 點
您可利用Gpass網站的G點中心,查詢/管理您的點數帳戶
倘若您已完成服務續訂,請無須理會本通知信,提醒您,若於服務到期三個月後
仍未續訂服務,則系統將自動刪除您原訂購服務之內容,為避免遺失重要資料,
建議您按時備份。若有任何疑問或建議,歡迎來信至客服中心,我們將竭誠為您
服務,謝謝!
敬祝 順心如意!!
以前編譯apache的時候
都是google搜索到的直接拿來用
這次自己編譯mod_rewrite和ssl遇到了問題
又不知道問題出在哪裡
一個是mod_rewrite模塊沒有起作用
一個是以ssl啟動apache的時候報告如下錯誤:
apachectl startssl
Syntax error on line 246 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_ssl.so into server: /usr/local/apache2/modules/mod_ssl.so: undefined symbol: X509_free
後來經過查找
明白了問題出在哪裡
當時我是這麼編譯apache的
./configure
--prefix=/usr/local/apache2
--enable-so
--enable-mods-shared=most
--enable-rewrite
--enable-speling
--enable-forward
--enable-ssl
--with-ssl=/usr/local/openssl
而問題就出在–enable-so
現在知道了–enable-so的意思是說
讓apache 核心裝載DSO,但是不實際編譯任何動態模塊
–enable-ModuleName的意思是說 編譯并包含模塊ModuleName
而 –enable-ModuleName=shared 的意思是說將這個模塊編譯成動態的.
明白了這幾個選項的意思,感覺就水落石出了
根據上面的總結
我應該去掉–enable-so這行
如何希望動態編譯模塊
比如:–enable-rewrite應該替換為: –enable-rewrite=shared
最後,我將要編譯的應該為:
./configure
--prefix=/usr/local/apache2
--enable-mods-shared=most
--enable-rewrite
--enable-speling
--enable-forward
--enable-ssl
--with-ssl=/usr/local/openssl
上面中 –enable-mods-shared=most的意思是說 動態的編譯進來大多數的模塊
而 –enable-mods-shared=all是指動態的編譯所有的模塊
如果把-shared去掉,就是靜態的編譯了…
綜上所述
總結出了我個人對apache的動態與靜態編譯的理解
好比有兩個人a和m
a代表apache,m代表module
要想讓a使用m的東西
一個方法是把m的東西都放到a那裡去,a使用的時候就是現成的了
就是所謂的靜態編譯
還有一個方法,
就是告訴a, m的住址,當a要使用m的東西的時候,a去找m,然後使用
不過,這種方法要注意的一個問題就是:m必須要有實際的住址,
否則a會找不到m而產生錯誤的,我此文開始提到的 apachectl startssl產生
的錯誤就是這個原因,應該再編譯好ssl才可以的.
這種方法也就是apache 的動態(DSO)編譯了
.post pre { background: #F0F0F0 url(http://your.domain.address/blogger-code.gif) repeat-y scroll left top; border: 1px solid #CCCCCC; color: #333333; display: block; font-family: Courier New; font-size: 10pt; line-height: 120%; margin: 5px 0 0 20px; max-height: 200px; overflow: auto; padding: 10px 10px 10px 21px; width: 90%; }
<pre>you code here</pre>
Download and install Microsoft ActiveSync相關圖文可參考這篇
Download and install the Microsoft Device Emulator 3
Download and install the Windows Mobile 6 Professional Images
Start -> Programs -> Windows Mobile 6 SDK -> Tools -> Device Emulator Manager->Right Click the Entry and select "Cradle"
In ActiveSync panel, check the Allow connections to one of the following box, then select DMA from the dropdown list and click OK
Download and install Android SDK相關圖文可參考這篇
Download and install Eclipse(若只需使用Android的瀏覽器則不需安裝)
IF OBJECT_ID (N'dbo.split', N'IF') IS NOT NULL3. Using nested queries with split function
DROP FUNCTION dbo.split
GO
CREATE FUNCTION dbo.split(@String VARCHAR(8000), @Delimiter CHAR(1))
RETURNS @temptable TABLE (items VARCHAR(8000))
AS
BEGIN
DECLARE @idx INT
DECLARE @slice VARCHAR(8000)
SELECT @idx = 1
IF LEN(@String)<1 idx =" CHARINDEX(@Delimiter,@String)" slice =" LEFT(@String,@idx" slice =" @String">0)
INSERT INTO @temptable(Items) VALUES(@slice)
SET @String = RIGHT(@String,len(@String) - @idx)
IF LEN(@String) = 0 BREAK
END
RETURN
SELECT DISTINCT FIELD1_NAME FROM TABLE1_NAME WHERE FIELD2_NAME = (
SELECT TOP (1) items FROM
dbo.split(
(SELECT FIELD3_NAME
FROM TABLE2_NAME
WHERE (FIELD4_NAME = 'FIELD4_VALUE')), ':')
)