nagios CSS and JS files 404 after adding FQDN to vhost confs
Posted: Wed Oct 25, 2017 4:52 am
I have installed nagiosxi and am using dedicated Centos7 server.
I wanted to access it via domain name I had in mind and I added following lines to every nagios related vhost file:
The CSS and JS are not loading and showing 404, I cant access them via domain name and neither with IP itself now.
Access log:
Sorry if there is similar issue on forum, couldn't find it or access it if its for paying customers only.
Thanks in advance
I wanted to access it via domain name I had in mind and I added following lines to every nagios related vhost file:
Code: Select all
<VirtualHost *:80>
ServerName nagios.civicatalyst.org
#nagios vhost config
</VirtualHost>
Access log:
Code: Select all
xxx.xxx.xx.xx- - [25/Oct/2017:12:21:21 +0200] "GET / HTTP/1.1" 200 3077 "-" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:21 +0200] "GET /nagiosxi/images/nagios_logo_white_transbg.png HTTP/1.1" 404 243 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:21 +0200] "GET /nagiosxi/includes/css/bootstrap.3.min.css HTTP/1.1" 404 239 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/includes/js/jquery/jquery-1.11.2.min.js HTTP/1.1" 404 246 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx- - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/includes/css/themes/modern.css HTTP/1.1" 404 237 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/includes/js/core.js HTTP/1.1" 404 226 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx- - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/includes/css/base.css HTTP/1.1" 404 228 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/includes/js/jquery/jquery-migrate-1.4.1.min.js HTTP/1.1" 404 253 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/includes/js/jquery/jquery-migrate-1.4.1.min.js HTTP/1.1" 404 253 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/includes/js/core.js HTTP/1.1" 404 226 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
xxx.xxx.xx.xx - - [25/Oct/2017:12:21:22 +0200] "GET /nagiosxi/images/nagios_logo_white_transbg.png HTTP/1.1" 404 243 "https://nagios.civicatalyst.org/" "Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0"
127.0.0.1 - - [25/Oct/2017:12:21:23 +0200] "POST /nagiosxi/backend/ HTTP/1.1" 404 215 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
Sorry if there is similar issue on forum, couldn't find it or access it if its for paying customers only.
Thanks in advance