How to build Apache DSO module on win32 .
You can download Apaache win32 complied this link.
http://www.apachelounge.com/download/
after copy, you can use command as like C:\Apache2\bin>httpd -f "c:/apache2/conf/httpd.conf"
and this is module of Pseudo Streaming.
http://h264.code-shop.com/trac
this simple code for testing apache dso module ,can printing "hellow world!" your apache server on winxp .
build to hellow world on windows.
cl /nologo /MD /W3 /O2 /D WIN32 /D _WINDOWS /D NDEBUG -I"C:\Program Files\Apache Software Foundation\Apache2.2/include" /c /Fo mod_helloworld.obj mod_helloworld.c
link kernel32.lib "C:\Program Files\Apache Software Foundation\Apache2.2\lib\libhttpd.lib" "C:\Program Files\Apache Software Foundation\Apache2.2\lib\libapr-1.lib" "C:\Program Files\Apache Software Foundation\Apache2.2\lib\libaprutil-1.lib" /nologo /subsystem:windows /dll /machine:I386 /out:mod_helloworld.so mod_helloworld.obj
and adding this code at httpd.conf
LoadModule helloworld_module modules/mod_helloworld.so
<Location /helloworld>
SetHandler helloworld
</Location>
run apache with debug mode , -X
C:\Apache2\bin>httpd -w -X -f "c:/apache2/conf/httpd.conf"
// reference
project porting for windowsXP
http://en.wlmp-project.net/
how to modulelation samples
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
http://sokkuma.tistory.com/7
http://code.google.com/p/php-mp4info/
flah cue points ref
http://www.ioncannon.net/web-design/109/metadata-cuepoint-flash-video-flvtool/
How to install msys with minGW on Wndows
http://aurau.blogspot.com/2010/02/mingw-msys-cygwin-d.html
Writing plugins fttp lighthttpD
http://redmine.lighttpd.net/projects/lighttpd/wiki/HowToWriteALighttpdPlugin
http://redmine.lighttpd.net/projects/lighttpd/wiki/CppModules
Get mod_h264Stream_Source
wget
http://h264.code-shop.com/download/lighttpd-1.4.18_mod_h264_streaming-2.2.9.tar.gz
How to dev with 3rdParty Modules for LightTPD
_ get a Cygwin need
Runtime requirements:
cygwin-1.5.10 or newer
crypt-1.1 or newer
libbz2_1-1.0.2 or newer
libpcre0-4.5 or newer
openssl-0.9.7d or newer
zlib-1.2.1 or newer
Build requirements:
cygwin-1.5.10 or newer
gcc-3.3.1-3 or newer
binutils-20030901-1 or newer
crypt
openssl-devel
openssl
openldap
openldap-devel
zlib
bzip2
_ref to lighttpd vearsion.
http://redmine.lighttpd.net/projects/lighttpd/repository/show/tags/lighttpd-1.4.26
Download
http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.26.tar.gz
3rd type module ModGeoip, You
can ref to interface or few func.
http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModGeoip
and you should ready to your favorite editor for C,C++
http://www.google.co.kr/search?hl=ko&lr=&newwindow=1&client=firefox-a&hs=z04&rls=org.mozilla%3Ako%3Aofficial&channel=s&q=cygwin+with+codeblocks&aq=f&aqi=&aql=&oq=&gs_rfai=
http://www.gamedev.net/community/forums/topic.asp?topic_id=529361&whichpage=1�