- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache CGI problem
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
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
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
тАО02-29-2008 06:13 AM
тАО02-29-2008 06:13 AM
ScriptAlias /nagios/cgi-bin "/opt/iexpress/nagios/sbin"
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /opt/iexpress/nagios/htpasswd.users
Require valid-user
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2008 09:39 PM
тАО03-02-2008 09:39 PM
SolutionVerify permissions for the directory to the apache user are fine.
The url used for accessing should be http://
Still if you see the same error, please copy paste the message from the error_log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 06:10 AM
тАО03-03-2008 06:10 AM
Re: Apache CGI problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 07:05 AM
тАО03-03-2008 07:05 AM
Re: Apache CGI problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2008 07:27 AM
тАО03-03-2008 07:27 AM
Re: Apache CGI problem
you do not need to fully restart your webserver after changes to httpd.conf.
It suffices to send the parent proc/thread a SIGUSR1 to have it gracefully reinitialize without your clients noticing, like e.g.
kill -USR1 $(UNIX95= ps -C httpd -o pid= -o ppid=|awk '$2==1{print$1}')
When you install your Nagios server there will be provided a preconfigured stub file with
Then you only need to put an Include directive in your httpd.conf
Include conf.d/nagios.conf
This reduces the clutter and keeps special Nagios settings in a separate file.
The referred to dirs within the
Also note to set the Order and AllowFrom directives correctly.
According to mod_auth's doc Apache does a
three-pass according to what the Order is set to.
I.e. if you have
Order allow,deny
Apache will first evaluate all Allow from directives.
Then in the second pass all Deny froms.
Finally if no rule matched so far the third pass sets deny as default rule.
This is in contrast to how most firewall rules are evaluated where the first match usually exits the chain.
Always refer to Apache's logs/error_log
if something isn't working.
Chances are that there will be an explanatory error message.