Operating System - HP-UX
1834009 Members
3917 Online
110063 Solutions
New Discussion

Re: web server configuration

 
SOLVED
Go to solution
Kim wing
Frequent Advisor

web server configuration

how can I configure and use the following:
apatche
tomcat
web server

Thanks
7 REPLIES 7
Mark Greene_1
Honored Contributor

Re: web server configuration

Apache is your webserver. Go to http://www.apache.org for more info. tomcat is your java servlet server. Go to http://jakarta.apache.org/tomcat/ for tomcat info. You will also need a version of java running for tomcat to do anything.

mark
the future will be a lot like now, only later
Naveej.K.A
Honored Contributor
Solution

Re: web server configuration

The configuration file for apache is /opt/apache/conf/httpd.conf where all the configurations of the server such as document root, port number and other properties are defined. The configuration file is in turn defined during the startup and is defined in /etc/rc.config.d/apacheconf. u need to edit and modify the "index.html" file in your document roots folder i.e. /opt/apache/htdocs, which will be your home page.

To integrate tomcat with apache u need to compile binaries for java and need to start java before starting tomcat. u can start tomcat from the tomcat home ( in default cases it is /opt/apache) /bin/startup.sh.

To integrate the tomcat and apache, a file called .tomcatrc should be there in the root directory defining JAVA_HOME and TOMCAT_HOME.

regds
Naveej
practice makes a man perfect!!!
Brian Markus
Valued Contributor

Re: web server configuration

You can get a deopt of Apache from the HPUX porting site:

http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache-1.3.29/

I don't think there is a depot of tomcat, you'll have to download it and do the install manual. You can get info on tomcat here:
http://jakarta.apache.org/tomcat/

Hope that helps.

-Brian.
When a sys-admin say's maybe, they don't mean 'yes'!
Kim wing
Frequent Advisor

Re: web server configuration

Thanks everyone.
Najeev, I'll try your steps and will assign points later, although, I'm not sure if Java has to be installed and from where I can download it.

Naveej.K.A
Honored Contributor

Re: web server configuration

you can download java sdk from java.sun.com
practice makes a man perfect!!!
Steven E. Protter
Exalted Contributor

Re: web server configuration

Java:
http://www.hp.com/go/java

Your apache configuration is controlled in a main file called httpd.conf

It controls server name, behavior, almost everything.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com