Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #3962] add --with-httpd-conf-file to allow specific apache config to be installed #1257

Closed
icinga-migration opened this issue Apr 13, 2013 · 3 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/3962

Created by mfriedrich on 2013-04-13 12:04:06 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2013-04-13 12:57:10 +00:00)
Target Version: 1.9
Last Update: 2014-12-08 09:15:22 +00:00 (in Redmine)


sh ./configure --prefix=/tmp/foo --with-htmurl="/icinga-standalone" --with-cgiurl="/icinga-standalone/cgi-bin" --with-httpd-conf-file=/etc/apache2/conf.d/icinga-standalone-test.conf


 General Options:
 -------------------------
        Icinga executable:  icinga
        Icinga user/group:  icinga,icinga
       Command user/group:  icinga,icinga
        Apache user/group:  www-data,www-data
            Embedded Perl:  no
             Event Broker:  yes
          ido2db lockfile:  ${prefix}/var/ido2db.lock
             ido sockfile:  ${prefix}/var/ido.sock
          idomod tempfile:  ${prefix}/var/idomod.tmp
           Build IDOUtils:  libdbi, instance_name=default
        libdbi driver dir:  /usr/local/lib/dbd
        Install ${prefix}:  /tmp/foo
                Lock file:  ${prefix}/var/icinga.lock
                Temp file:  /tmp/icinga.tmp
                 Chk file:  ${prefix}/var/icinga.chk
           HTTP auth file:  ${prefix}/etc/htpasswd.users
            Lib directory:  ${exec_prefix}/lib
            Bin directory:  ${exec_prefix}/bin
         Plugin directory:  ${exec_prefix}/libexec
   Eventhandler directory:  ${exec_prefix}/libexec/eventhandlers
            Log directory:  ${prefix}/var
   Check result directory:  ${prefix}/var/spool/checkresults
           Temp directory:  /tmp
          State directory:  ${prefix}/var
   Ext Cmd file directory:  ${prefix}/var/rw
           Init directory:  /etc/init.d
  Apache conf.d directory:  /etc/apache2/conf.d
       Apache config file:  /etc/apache2/conf.d/icinga-standalone-test.conf
             Mail program:  /usr/bin/mail
                  Host OS:  linux-gnu
       Environment Prefix:  ICINGA_

 Web Interface Options:
 ------------------------
                 HTML URL:  http://localhost/icinga-standalone/
                  CGI URL:  http://localhost/icinga-standalone/cgi-bin/
                 Main URL:  http://localhost/icinga-standalone/cgi-bin/tac.cgi

$ sudo make install-webconf
/bin/mkdir -p -m 775 /etc/apache2/conf.d
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/apache2/conf.d/icinga-standalone-test.conf

*** Icinga/Apache conf file installed ***

will be needed for making classic ui standalone, allowing to install many classic ui instances.

Changesets

2013-04-13 12:07:33 +00:00 by (unknown) 78d7bf6

install: add --with-httpd-conf-file to allow specific apache config to be installed

fixes #3962

Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-04-13 12:05:30 +00:00

no option given, defaults to the httpd config dir and icinga.conf

sh ./configure --prefix=/tmp/foo --with-htmurl="/icinga-standalone" --with-cgiurl="/icinga-standalone/cgi-bin"

*** Configuration summary for icinga-core 1.9.0 04-25-2013 ***:

 General Options:
 -------------------------
        Icinga executable:  icinga
        Icinga user/group:  icinga,icinga
       Command user/group:  icinga,icinga
        Apache user/group:  www-data,www-data
            Embedded Perl:  no
             Event Broker:  yes
          ido2db lockfile:  ${prefix}/var/ido2db.lock
             ido sockfile:  ${prefix}/var/ido.sock
          idomod tempfile:  ${prefix}/var/idomod.tmp
           Build IDOUtils:  libdbi, instance_name=default
        libdbi driver dir:  /usr/local/lib/dbd
        Install ${prefix}:  /tmp/foo
                Lock file:  ${prefix}/var/icinga.lock
                Temp file:  /tmp/icinga.tmp
                 Chk file:  ${prefix}/var/icinga.chk
           HTTP auth file:  ${prefix}/etc/htpasswd.users
            Lib directory:  ${exec_prefix}/lib
            Bin directory:  ${exec_prefix}/bin
         Plugin directory:  ${exec_prefix}/libexec
   Eventhandler directory:  ${exec_prefix}/libexec/eventhandlers
            Log directory:  ${prefix}/var
   Check result directory:  ${prefix}/var/spool/checkresults
           Temp directory:  /tmp
          State directory:  ${prefix}/var
   Ext Cmd file directory:  ${prefix}/var/rw
           Init directory:  /etc/init.d
  Apache conf.d directory:  /etc/apache2/conf.d
       Apache config file:  /etc/apache2/conf.d/icinga.conf
             Mail program:  /usr/bin/mail
                  Host OS:  linux-gnu
       Environment Prefix:  ICINGA_

 Web Interface Options:
 ------------------------
                 HTML URL:  http://localhost/icinga-standalone/
                  CGI URL:  http://localhost/icinga-standalone/cgi-bin/
                 Main URL:  http://localhost/icinga-standalone/cgi-bin/tac.cgi


Review the options above for accuracy.  If they look okay,
type 'make all' to compile the main program and CGIs.


!!! Please take care about the upgrade documentation !!!

@icinga-migration
Copy link
Author

Updated by Anonymous on 2013-04-13 12:57:10 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 78d7bf6.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-12-08 09:15:22 +00:00

  • Project changed from 19 to Core, Classic UI, IDOUtils
  • Category changed from 43 to Classic UI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant