René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
Apache and Oracle | ||
Oracle's HTTP server comes with
Completing the installation
When I tried to manually start the webserver, I found that I had to make two minor changes so as to be able to start the webserver:
httpd.conf
In the httpd.conf file, I needed to change the line that read
SetEnv PERL5LIB "/home/oracle/OraHome1/Apache/perl/lib/5.00503:/home/oracle/OraHome1/Apache/perl/lib/site_perl/5.005" to SetEnv PERL5LIB "/home/oracle/OraHome1/Apache/perl/lib/site_perl/5.005" to make it work. WV_GATEWAY_CFG
Apparently, some part of the Oracle-Apache installation requires the environment variable WV_GATEWAY_CFG to be set:
export WV_GATEWAY_CFG=$ORACLE_HOME/Apache/modplsql/cfg/wdbsvr.app
Actually, this variable is set by the apachectl script (found in $ORACLE_HOME/Apache/Apache/bin). apachectl is meant to start the webserver.
Also, DISPLAY neeeds to be set, although I have no idea what for.
DISPLAYexport DISPLAY=localhost:0.0 Starting the web server
Go to the directory $ORACLE_HOME/Apache/Apache/bin and do a
./httpd -f$ORACLEHOME/Apache/Apache/conf/httpd.conf Files
|