Operating System - HP-UX
1752806 Members
6049 Online
108789 Solutions
New Discussion юеВ

Setup Apache on HP-UX 11i

 
SOLVED
Go to solution
Timmy Sin
Advisor

Setup Apache on HP-UX 11i

Hi,

I would like to setup HTTP service on my HP box for client to access some files on the server through browser.
I found the /opt/apache directory in my factory-installed HP-UX 11i. Is it enough for my purpose? If yes, how to configure? If not, what should I do?
Grateful if anyone can give me some idea on that.

Thanks,
Timmy
2 REPLIES 2
Steve Steel
Honored Contributor
Solution

Re: Setup Apache on HP-UX 11i

Hi


It should be fine.

Go To www.docs.hp.com

Search this site

apache 11i

You will see all the documents


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)

Re: Setup Apache on HP-UX 11i

Hi Timmy,

allthough not using 11i I would guess that if you can find httpd and apachectl under bin directory you shoulb be fine.

Just to be on the safe side, why not trying to download the latest version from www.apache.org

The way I would do it, is to create a group (i.e. "webgroup") and a user (i.e. "webuser")

Make a directory in the "webusers"'s home where the pages are going to reside.

Edit the httpd.conf file and change the following:
ServerName to mach your server name
ServerRoot /opt/apache
User webuser
Group webgroup
Documentroot /homedir/of/webuser/pagesdir
Errorlog /usually/homedir/of/webuser/logs

Make sure the DirectoryIndex option contains the mail html page you want to be read when you call the web server (by default index.htm or index.html or main.html...etc)

Next, chown webuser:webgroup /homedir/of/webuser/pagesdir (and all others under it)

Ready to go... /opt/apache/bin/apachectl start

Check with ps if any httpd procceses are running and test the server with a browser.

Hope this helps...