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

[dev.icinga.com #756] alias for the js-libraries missing in icinga-web documentation #123

Closed
icinga-migration opened this issue Aug 30, 2010 · 4 comments

Comments

@icinga-migration
Copy link

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

Created by jhein on 2010-08-30 12:50:53 +00:00

Assignee: croft
Status: Closed (closed on 2010-09-13 18:59:43 +00:00)
Target Version: 1.2 (Stable)
Last Update: 2010-11-09 23:03:39 +00:00 (in Redmine)


Subject: little Bug in icinga-web documentation
Date: Mon, 30 Aug 2010 12:11:47 +0000
To: info@icinga.org
From: Jonas Garcia Köhel <removed@googlemail.com>
Download (untitled) [text/plain 935b]
Hi,

the alias for the js-libraries seems to have been forgotten. I found it in older documentation and added it. if it's missing the stylesheets don't load. This is my now working /etc/httpd/conf.d/icinga.conf

##### conf #####
Alias /icinga-web/js /usr/local/icinga-web/lib/
Alias /icinga-web/flash /usr/local/icinga-web/lib/
Alias /icinga-web /usr/local/icinga-web/pub

<directory /usr/local/icinga-web/pub>
AllowOverride All

###############

Another suggestion: i struggeled a bit with the pcre 6.6 problem on centos 5.5, because i overread it. In my php-logs (error reporting ALL!) there was no error. Perhaps icinga itself should fail completly with an errormsg or at least report an error in the logfiles, if it finds a wrong pcre version. this would make troubleshooting easier.

Greetings and thanks for doing this nagios fork, i'm yet starting to test it, but it looks very promising

Jonas

@icinga-migration
Copy link
Author

Updated by mhein on 2010-08-31 16:13:48 +00:00

This works with the new configure flags:

  --with-web-path=PATH    web sub path (default /icinga-web)
  --with-web-apache-path=PATH

Default settings:

web_apache_path='/etc/apache2/conf.d'
web_path='/icinga-web'

Creates:

$ cat etc/apache2/icinga-web.conf
#
# icinga-web apache configuration
# - Enable all options .htaccess
# - Add extjs library to alias
#

Alias /icinga-web/js/ext3 /usr/local/icinga-web/lib/ext3
Alias /icinga-web /usr/local/icinga-web/pub


    Order allow,deny
    Allow from all



    DirectoryIndex index.php
    Options FollowSymLinks
    AllowOverride all
    Order allow,deny
    Allow from all

Make reports after install (install target following install-done):

$ make install-done


Installation if icinga-web succeeded.

Please check the new Apache2 configuration (etc/apache2/icinga-web.conf).

You can install it simply by invoking 'make install-apache-config'.

If you don't want this you can restore its old behavior by
typing 'make install-javascript'. This will install the old symlinks

Have fun!

@icinga-migration
Copy link
Author

Updated by croft on 2010-09-01 09:27:01 +00:00

  • Category set to Web
  • Assigned to set to croft
  • Target Version set to 1.2 (Stable)

@icinga-migration
Copy link
Author

Updated by croft on 2010-09-01 14:37:45 +00:00

  • Status changed from New to Assigned
  • Done % changed from 0 to 50

Some changes in the english Version, the german Version will follow.

@icinga-migration
Copy link
Author

Updated by croft on 2010-09-13 18:59:43 +00:00

  • Status changed from Assigned to Closed
  • Done % changed from 50 to 100

Pushed in current master.

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