Hi Thomas, First of all many thanks for using Monitorix.
You can't do this if you want Monitorix be physically installed in the /var/www/admin directory, and as long as the .deb file installs Monitorix in the /usr/share/monitorix directory you'll have no way to change it during installation. But, you could change manually its location after the installation if you take care to change some settings in the main configuration file, and in the Apache configuration file provided by the .deb package. I mean you could do: # mv /usr/share/monitorix /var/www/admin/monitorix in /etc/monitorix.conf define: our $BASE_DIR = "/var/www/admin/monitorix/"; our $BASE_URL = "/admin/monitorix"; our $BASE_CGI = "/admin/monitorix-cgi"; in /etc/apache2/conf.d/monitorix.conf define: Alias /admin/monitorix /var/www/admin/monitorix ScriptAlias /admin/monitorix-cgi /var/www/admin/monitorix/cgi-bin <Directory /var/www/admin/monitorix/cgi-bin/> Then restart Monitorix and all should work. The only problem with this manual change is that you'll need to repeat it on every Monitorix update. Let me know if that helped you. Best regards. On 06/20/2012 08:26 AM, thomas.trep...@blueclaim.com wrote: > Hi all, > > I hope I am right - I am sorry but I need some help with monitorix and > apache2 VirtualHost. I just can't get it working... > > I have a Debian squeeze and an Apache2 running and installed the monitorix > via the deb-file (monitorix_2.5.2-izzy1_all.deb) > > It works and is accessible via /monitorix and /monitorix-cgi. > > My current Apache setup has an admin directory below /var/www so > /var/www/admin which is heavily protected and I want monitorix to be > inside of this, so /var/www/admin/monitorix and reachable via > URL:443/admin/monitorx (monitorix-cgi). > > Does anybody has an idea if this will work and possibly how? > > Thanks a lot in advance. Kind regards, > > Thomas > -- Jordi Sanfeliu FIBRANET Network Services Provider http://www.fibranet.cat ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Monitorix-general mailing list Monitorix-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monitorix-general