$ apxs -i -a -c mod_foo.c* WTF??!!!
gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c
ld -Bshareable -o mod_foo.so mod_foo.o
cp mod_foo.so /path/to/apache/libexec/mod_foo.so
chmod 755 /path/to/apache/libexec/mod_foo.so
[activating module `foo' in /path/to/apache/etc/httpd.conf]
$ apachectl restart
/path/to/apache/sbin/apachectl restart: httpd not running, trying to start
[Tue Mar 31 11:27:55 1998] [debug] mod_so.c(303): loaded module foo_module
/path/to/apache/sbin/apachectl restart: httpd started
$ _
Post a Comment
Subscribe to:
Post Comments (Atom)
Profile
Popular Posts
Archive
-
▼
2008
(115)
-
▼
April
(12)
- Seronok ke bertunang? Ade ape jek?
- Pada hari ini, ramai orang on YM.Terima kasih.
- Was hot yesterday, so I cut my hair off. Tinggal h...
- Met a new friend on Monday, had sushi. Received a ...
- It's ok if I don't know how to hack a system.It's ...
- Scabbers : Sakit mata! Sakit mata!Wormtail : Nampa...
- $ apxs -i -a -c mod_foo.c gcc -fpic -DSHARED_M...
- Selamat Hari Jadi kepada saya.
- Kawan2 aku skang sumer da tak best. Serious **** n...
- Yup, Yup. I'm counting the days. I don't forget. I...
- Deskripsi gambar 1: Kucing belaan yg bernama Golia...
- Some girls have all the luck.Pandai. A high positi...
-
▼
April
(12)
