Operating System - HP-UX
1754014 Members
3783 Online
108811 Solutions
New Discussion юеВ

Re: Access HP-UX server through http

 
SOLVED
Go to solution
Lukit
New Member

Access HP-UX server through http

Hi Guys,
I need to access my server throuh http(in local intranet) like

http://x.x.x.x/dir

When i will put this into my browser the the contents of dir should be shown and accessible.
i am using HP-UX 11iv3.
Please guide me what should i need to do.

Thanx in advance.


12 REPLIES 12
Horia Chirculescu
Honored Contributor

Re: Access HP-UX server through http

Are you saying that you want to access (browse) the content of one directory from the local machine (called dir, can be anywhere like in /opt/dir or /home/user1/dir)?

Best regards
Horia.

Best regards from Romania,
Horia.
Lukit
New Member

Re: Access HP-UX server through http

Thanx Horia.

Yes i exactly want what u have mentioned.

Regards,
Lukit.
Horia Chirculescu
Honored Contributor

Re: Access HP-UX server through http

First of all you would need a web server.

HP-UX uses, as most of the UNIXes around there do, APACHE server.


https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSSUITE

You can use HP-UX Webmin as an Administration GUI for the system.

Best regards from Romania,
Horia
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor
Solution

Re: Access HP-UX server through http

As usual do not forget to:

Read the docs!

Read the requirements!

Best regards,
Horia.
Best regards from Romania,
Horia.
Lukit
New Member

Re: Access HP-UX server through http

Thanx for yiur replay.

I had checked apache is alredy installed and some processes are also running.

root /#swlist|grep -i apache
hpuxwsApache B.2.0.59.02 HPUX Apache Web Server

root /#ps -ef|grep -i apache
root 2853 1 0 Feb 20 ? 3:02 /opt/hpws/apache/bin/httpd -k start -DSSL -f /opt/hpsmh/conf/smhpd.conf
hpsmh 2963 2853 0 Feb 20 ? 0:24 /opt/hpws/apache/bin/httpd -k start -DSSL -f /opt/hpsmh/conf/smhpd.conf


It requires any additional configuration?
Should i need to put port number in browser with ip?


Regards,
Lukit

Horia Chirculescu
Honored Contributor

Re: Access HP-UX server through http

You can point your browser to the default port used by smh (2301):

http://server_ip_address:2301

If it is not working read the configuration file (maybe your setup does not use the default port)

Best regards
Horia
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: Access HP-UX server through http

Relevant documentation (for smh) here:

http://docs.hp.com/en/381372-004/381372-004.pdf

Horia.
Best regards from Romania,
Horia.
Lukit
New Member

Re: Access HP-UX server through http

Yes i am able to acces smh.

But my initial query is not resolved.

Can i access (browse) the content of one directory from the local machine called dir?

Regards,
Lukit



Horia Chirculescu
Honored Contributor

Re: Access HP-UX server through http

The configured port no. should be listed in the configuration file:

/opt/hpsmh/conf/smhpd.conf

Horia.
Best regards from Romania,
Horia.