Posts tagged env

URL Rewrite mod_rewrite Notes

Rewirte主要的功能就是實現URL的跳轉,它的正則表達式是基于Perl 語言。可基于服務器級的(httpd.conf)和目錄級的 (.htaccess)兩種方式。如果要想用到rewrite模塊,必須先安裝或加載rewrite模塊。方法有兩種一種是編譯apache的時候就直接安裝rewrite模塊,別一種是編譯apache時以DSO模式安裝apache,然后再利用源碼和apxs來安裝rewrite模塊。

基于服務器級的(httpd.conf)有兩種方法,一種是在httpd.conf的全局下直接利用RewriteEngine on來打開rewrite功能;另一種是在局部里利用RewriteEngine on來打開rewrite功能,下面將會舉例說明,需要注意的是,必須在每個virtualhost里用RewriteEngine on來打開rewrite功能。否則virtualhost里沒有RewriteEngine on它里面的規則也不會生效。

基于目錄級的(.htaccess),要注意一點那就是必須打開此目錄的FollowSymLinks屬性且在.htaccess里要聲明 RewriteEngine on。
More >

URL Rewriting – Apache Module Rewrite

apache 設定檔
apache預設已有mod_rewire 模組: (httpd.conf 相關設定)
預設也已啟用.
LoadModule rewrite_module libexec/apache/mod_rewrite.so
AddModule mod_rewrite.c
More >

Face Detection (人臉檢測) Part 4 (安裝Processing)

歡迎到來PART 4!以下的是安裝Processing。

所需工具如下:

作業系統:Windows XP SP3 32bit, Windows Vista 32bit, Windows 7 32bit

開發配置:JDK 6 (在此下載), OpenCV 1.0 (在此下載),OpenCV Processing Library(在此下載), OpenCV Example (在此下載)

開發工具:Processing 1.0.x (在此下載), 命令提示字元

其他工具:攝像機(Camera), 7zip(在此下載)或其他解壓軟件

簡介:

Processing is an open source programming language and environment for people who want to program images, animation, and interactions. It is used by students, artists, designers, researchers, and hobbyists for learning, prototyping, and production. It is created to teach fundamentals of computer programming within a visual context and to serve as a software sketchbook and professional production tool.

From Processing Offical Web Site

簡單講,Processing就是一個專為圖影而生的開發語言,它簡化了對多媒體操作的編碼,推薦新手使用,相信是較容易上手的一種專業開發語言!

More >

Face Detection (人臉檢測) Part 2 (安裝JDK)

歡迎到來PART 2!以下的是安裝JDK。

所需工具如下:

作業系統:Windows XP SP3 32bit, Windows Vista 32bit, Windows 7 32bit

開發配置:JDK 6 (在此下載), OpenCV 1.0 (在此下載),OpenCV Processing Library(在此下載), OpenCV Example (在此下載)

開發工具:Processing 1.0.x (在此下載), 命令提示字元

其他工具:攝像機(Camera)

簡介:

Processing 也是JAVA BASE的一個開發工具,所以我同樣要安裝JDK(Java SE Development Kit)。

More >

Linux: env 環境變數的說明

近來找找舊時網誌(Blog)中的文章,轉貼回這個網誌…
以下是以前我對學習Linux 時的筆記!

但學了沒多久就放棄了,不記得是什麼原因,可能有其他事忙!
但願之後有機會再學習….
More >