- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Access HP-UX server through http
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:04 AM
09-23-2010 03:04 AM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:11 AM
09-23-2010 03:11 AM
Re: Access HP-UX server through http
Best regards
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:14 AM
09-23-2010 03:14 AM
Re: Access HP-UX server through http
Yes i exactly want what u have mentioned.
Regards,
Lukit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:22 AM
09-23-2010 03:22 AM
Re: Access HP-UX server through http
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
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:35 AM
09-23-2010 03:35 AM
Re: Access HP-UX server through http
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:39 AM
09-23-2010 03:39 AM
Re: Access HP-UX server through http
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
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:41 AM
09-23-2010 03:41 AM
Re: Access HP-UX server through http
http://docs.hp.com/en/381372-004/381372-004.pdf
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:51 AM
09-23-2010 03:51 AM
Re: Access HP-UX server through http
But my initial query is not resolved.
Can i access (browse) the content of one directory from the local machine called dir?
Regards,
Lukit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 03:53 AM
09-23-2010 03:53 AM
Re: Access HP-UX server through http
/opt/hpsmh/conf/smhpd.conf
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 04:23 AM
09-23-2010 04:23 AM
Re: Access HP-UX server through http
Instead, install the Apache webserver software package to your HP-UX:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW312
This provides a "general-purpose" Apache webserver which you can configure as much as you like.
Then read Apache documentation to understand what you're doing.
http://httpd.apache.org/docs/2.2/
There are many ways to configure which parts of your HP-UX filesystem will be accessible as URLs:
http://httpd.apache.org/docs/2.2/urlmapping.html
For example, if you want to make /opt/webdata/dir visible as http://x.x.x.x/dir, you would configure:
Alias /dir /opt/webdata/dir
Another way to achieve the same thing would be to set DocumentRoot to /opt/webdata. (Setting DocumentRoot to / is definitely not recommended!)
To allow displaying of directory listing instead of pre-prepared index.html (or similar), you must add these lines to Apache configuration to activate the Indexes option for your directory:
Options +Indexes
See:
http://httpd.apache.org/docs/2.2/mod/core.html#options
There are various other configuration directives you can use to change the style of the directory listing:
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html
By default, Apache allows only reading the files (HEAD and GET methods). Furthermore, Apache typically reads files using a special unprivileged user (typically named "httpd" or "apache"): if the directory or file permissions don't allow this user to read the file or directory, Apache cannot send it to the client.
If you want to allow write access through HTTP/HTTPS, you use an Apache module that supports WebDAV or HTTP PUT method. For example, Apache's WebDAV module is called mod_dav:
http://httpd.apache.org/docs/2.2/mod/mod_dav.html
By default, this module is disabled. You should definitely read the documentation and understand your Apache configuration before allowing write access, be it through mod_dav or otherwise.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 04:37 AM
09-23-2010 04:37 AM
Re: Access HP-UX server through http
you would need to start another instance of httpd (in addition to the one started by smh).
Use the default httpd.conf provided and modify the DocumentRoot to point to somwhere let's say /home/apache
DocumentRoot /home/apache
Then enable following the symbolic links in that directory:
Options Indexes FollowSymLinks
Then cd to /home/apache and make the links to the desired directory/directories.
cd /home/apache
ln -sf /some_volume_some_path/dir dir1
{...}
Then make a script that will start the new apache instance and run it. You should enable running this script at boot.
This is only a "regular" apache installation. You can not acces files from the dir directory except if those are owned by the same user used to run the httpd daemon. Even if the httpd daemon was start by root, the current apache implementation would suid the httpd childs that will actually serve HTTP data to clients.
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 04:46 AM
09-23-2010 04:46 AM
Re: Access HP-UX server through http
Horia.
Horia.