WebSphere Issues


Cutomizing apache error messages

Filed under: Linux, Web Server — Ishtiaque @ 10:10 am

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


Start db2 control center in linux

Filed under: DB2, Linux — Ishtiaque @ 9:23 am

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.

Disable apache directory listing

Filed under: Web Server — Ishtiaque @ 8:59 am

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 “/wps/IBMHttpServer/icons”>

#Options Indexes MultiViews
Options -Indexes


Create a free website or blog at WordPress.com.