Archive for September, 2005

Is it moving?

Is is moving?
Is it really moving?

Comments (2) »

Howto enable WAP in your apache

WAP
This is some information to share, on how to enable WAP on your apache web server. WAP will just works with your ordinary apache web server, it just need some additional code to be inserted into the configuration file.

Add the following code into your httpd.conf file, between <IfModule mod_mime.c> and </IfModule> tag.
AddType text/vnd.wap.wml .wml .wml
AddType Application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.vmlscript .wmls
AddType Application/vnd.wap.wmlscriptc .vmlsc
AddType image/vnd.wap.wbmp .wbmp

You also have to locate “DirectoryIndex” in the config file, and add index.wml. This is to make apache will read index.wml inside a folder, so that you can access it easily like http://wap.farhanfaisal.com, where it will immediatey read index.wml inside wap.farhanfaisal.com

Thats all, hope in future we will have more something in common to share, WAP site! :)

Wassalam

Enable WAP in apache – mrEriksson-Network

Appearing in 642-436 is not an issue for a 70-293 professional, whether he has done 350-018 and 70-647 or not.

Comments (1) »

httptop for live monitoring for your domains

I downloaded an ebook, Linux Server hacks [O'reilly], hacks #65, “Monitoring Web Traffic in Real Time with httptop. Its quite interesting, you can view the traffic, but in CLI, just a black screen. But you can see who’s hitting your web server up to the second.

Firstly, this is my reference,
Linux Server Hacks [Oreilly]
You can also download a full ebook from here. The file is quite big, 34MB! But… I found the Window help file version for the ebook!

The server used to setup all this things up is using FreeBSD 4.11, using DirectAdmin control panel. Mod_perl update were managed by DirectAdmin, and it makes my job easier to add additional Perl modules for httptop to works. Httptop need Time::HiRes and File::Tail Module installed to mod perl.

The first thing to do is to create additional information in httpd.conf for my domain, farhanfaisal.com. I just add these 2 additional line in the file. (Find the suitable place your own :D )
CustomLog /var/log/httpd/domains/total_log vhost
LogFormat “%v %h %l %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i”" vhost

“total_log” is a newly created file, where the new log data will dumped into, using these specified format. chmod it to 644.

Then we go to our httptop file. You can get the source code from O’reilly official website, or just download it from here.

In order to make sure the scripts will work, we have to install Time::HiRes module and File::Tail perl module.
cd /usr/ports/devel/p5-DateTime-HiRes
make install clean
cd /usr/ports/devel/p5-File-Tail
make install clean
/usr/local/directadmin/customapache/build mod_perl

I just restarted apache using DirectAdmin control panel, and issue this command to initiate httptop

httptop -f vhost -r 2 /var/log/httpd/domains/total_log

Walla, now you can see the result.
httptop small pics

Linux server hacks [pdf]
Linux server hacks [chm]

Certificates like 640-816 and 650-393 are important for a 70-284 professional’s career, particularly if he is planning on a future in 642-552 and 646-588.

Comments (1) »

deltoid-event
spectrum-unsightly
FireStats icon Powered by FireStats