- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restrict access to Apache on HP-UX
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
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
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
тАО10-18-2002 12:56 PM
тАО10-18-2002 12:56 PM
Restrict access to Apache on HP-UX
I did an ovstop httpd
vi /opt/OV/httpd/conf/access.conf and added:
Order Allow,Deny
Allow from theuser.domain.com
Deny from all
I did an ovstart httpd
I am still able to connect from stations other than theuser.domain.com.
in /var/opt/OV/log/http_error_log:
[Fri Oct 18 16:37:00 2002] [error] client 10.49.69.68:1507 denied by server configuration: /opt/OV/httpd/htdocs/Perf
But I was still able to access the nnm reports and graphs from a 'denied client'?
How do I restrict access to the ITO/NNM Apache server?
Thanks,
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2002 01:18 PM
тАО10-18-2002 01:18 PM
Re: Restrict access to Apache on HP-UX
Just to restart apache its
/opt/apache/bin/apacheclt stop
/opt/apache/bin/apacheclt start
if that doesnt work take a look at /var/adm/inetd.sec
maybe you can do the allow there.
man inetd.sec
~ Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2002 01:33 PM
тАО10-18-2002 01:33 PM
Re: Restrict access to Apache on HP-UX
ovstop httpd
and
ovstart httpd
are used to stop and start the web server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2002 09:18 AM
тАО10-19-2002 09:18 AM
Re: Restrict access to Apache on HP-UX
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 06:23 AM
тАО10-21-2002 06:23 AM
Re: Restrict access to Apache on HP-UX
I did an ovstop httpd, then a ps -ef | grep httpd and it wasn't running.
I changed the access.conf file to deny all:
Order Allow,Deny
Deny from all
I restarted the httpd via ovstart httpd. I am still able to access the nnm graphs etc, I was unable to access them when the httpd was stopped.
In http_error_log I get the message that access is denied by server configuration but I can still access the nnm graphs etc. ???
Is there some other setting to force it to use access.conf or some other way to restrict access by IP?
-Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 07:13 AM
тАО10-21-2002 07:13 AM
Re: Restrict access to Apache on HP-UX
Check the settings in the
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 08:06 AM
тАО10-21-2002 08:06 AM