Wednesday, January 26, 2011

How to find Apache Version in Oracle Application Server

Oracle HTTP Server is developed using Apache server as base. So if you have Oracle Application Server installed in your environment and if you want to know the in built Apache version then you can use either of the approaches.

1. Goto $ORACLE_HOME/Apache/Apache/bin and execute ./httpd -v or ./httpd -version.
In most of the environments you may not be succesful with the above command then you can use 2nd approach as given below.
2. UNIX:
$ORACLE_BASE/oraInventory/Components/oracle.apache.apache/
or
$ORACLE_HOME/inventory/Components/oracle.apache.apache/

WINDOWS:
INST_LOC\Components\oracle.apache.apache\

INST_LOC is a regitry entry, which was used by the Installation:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\inst_loc


If you dont find Components folder, then traverse to the folder Components21.

To know more about OHS, you can see the metalink note: 260449.1