Monthly Archives: May 2010

Cutomizing apache error messages

Here are some examples which can also be found in apache config file httpd.conf at /opt/IBM/HTTPServer/conf ErrorDocument 500 “Sorry, our script crashed. Oh dear” ErrorDocument 404 /errorpages/not_found.html Note: Where errorpages directory would be placed inside /opt/IBM/HTTPServer/htdocs/en_US directory Advertisements

Posted in Linux, Web Server | Leave a comment

Start db2 control center in linux

1. If you are connecting directly to host machine, then login with db2inst1 user and type db2cc command in the sheell. 2. If you are connecting remotely, then start vncserver with db2inst1 user and type db2cc command in shell.

Posted in DB2, Linux | Leave a comment

Disable apache directory listing

Add the following line inside the file /opt/IBM/HTTPServer/conf/httpd.conf <Directory “/opt/IBM/HTTPServer/htdocs/en_US”> #Options Indexes FollowSymLinks Options -Indexes </Directory> <Directory “/wps/IBMHttpServer/icons”> #Options Indexes MultiViews Options -Indexes </Directory>

Posted in Web Server | Leave a comment