LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2011, 12:02 AM   #1
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Rep: Reputation: Disabled
Apache configuration for Nagios


Hello friends
I have installed latest Nagios and Nagios plugins. Nagios is working properly, but when i go to the browser n write the www.server-name.com/nagios, it gives
Not Found
The requested URL /nagios/ was not found on this server.
Now please tell me that how i tell to apache to open Nagios on adding /nagios in my URL.
Regards
Shahnawaz
 
Old 05-26-2011, 12:06 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
The easiest way is probably adding an "Alias" directive in your Apache httpd.conf file:

http://httpd.apache.org/docs/2.2/mod/mod_alias.html

'Hope that helps .. PSM
 
Old 05-26-2011, 12:43 AM   #3
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thanks for replying paulsm4

Which directive i should give to http.conf?
My nagios is in /etc/nagios/nagios.cfg
I have also nagios file in
/etc/httpd/conf.d/nagios.conf

Last edited by Shahnawaz Uqaili; 05-26-2011 at 12:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 1 05-31-2016 07:26 AM
nagios + nrpe configuration aeby Linux - Server 6 05-29-2012 11:52 AM
Nagios configuration (XML) aocferreira Linux - Networking 41 04-20-2011 11:25 AM
Nagios Configuration linson_85 Linux - Software 2 10-09-2009 04:34 AM
Nagios configuration ZAMO Linux - Server 5 10-16-2007 07:54 AM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration