Re: What is the default location?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I restored the default locations (document root for apache2 and htmldir for munin). Paths are:
(/etc/munin/munin.conf) htmldir /var/cache/munin/www
(/etc/apache2/sites-available/default) DocumentRoot /var/www
(/etc/apache2/conf.d/munin) Alias /munin /var/cache/munin/www
 
Assuming the IP address is A.B.C.D, what is the URL for accessing the charts?
Thanks,
// Naderan *Mahmood;



From: Igor GaliÄ <i.galic@xxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Fri, November 26, 2010 7:28:36 PM
Subject: Re: What is the default location?


----- "Mahmood Naderan" <nt_mahmood@xxxxxxxxx> wrote:

> Hi,
> I am new to apache so my question may be too simple. I have installed
> apache2 and when I enter the ip address (http://A.B.C.D/) in the web
> browser I can successfully see the message "It works!".... fine.
>
> I also have installed Munin and set the htmldir variable to
> /var/www/A.B.C.D/web/monitoring. After running the Muning, index.html
> file and other related files are generated there:
> root@server1:/var/www/A.B.C.D/web/monitoring # ls
> definitions.html index.html logo.png server1
> favicon.ico logo-h.png style.css
>
>
>
>
> However when I enter this URL ( http://A.B.C.D/monitoring ) in the
> browser, I get this error: Not Found
>
>
> The requested URL /monitoring was not found on this server.
> Apache/ 2.2.14 (Ubuntu) Server at A.B.C.D Port 80
>
> It seems that Apache2's default location is somewhere else. How can I
> tell kim to look in to /var/www/A.B.C.D/web/monitoring where my
> index.html is there.

http://wiki.apache.org/httpd/DistrosDefaultLayout

If you installed munin from Ubuntu packages, then
it will be somewhere in /usr/share/munin.
It will contain a configuration snippet in
/etc/apache2/conf.d -- or similar
All of these you can determine with dpkg -L munin

> Thanks,
>
> // Naderan *Mahmood;

So long,

i

--
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "  from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux