diff --git a/.vagrant-puppet/files/var/www/html/icingaweb/.htaccess b/.vagrant-puppet/files/var/www/html/icingaweb/.htaccess index c750090e2..6420d1c75 100644 --- a/.vagrant-puppet/files/var/www/html/icingaweb/.htaccess +++ b/.vagrant-puppet/files/var/www/html/icingaweb/.htaccess @@ -1,6 +1,7 @@ RewriteEngine on RewriteBase /icingaweb RewriteRule ^css/icinga.css css.php +RewriteRule ^js/icinga.min.js js.php RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d diff --git a/.vagrant-puppet/files/var/www/html/icingaweb/css.php b/.vagrant-puppet/files/var/www/html/icingaweb/css.php new file mode 100644 index 000000000..08bc86017 --- /dev/null +++ b/.vagrant-puppet/files/var/www/html/icingaweb/css.php @@ -0,0 +1,8 @@ + File['/var/www/html/icingaweb'] } +file { '/var/www/html/icingaweb/js.php': + source => 'puppet:////vagrant/.vagrant-puppet/files/var/www/html/icingaweb/js.php', + owner => 'apache', + group => 'apache', + require => File['/var/www/html/icingaweb'] +} + +file { '/var/www/html/icingaweb/css.php': + source => 'puppet:////vagrant/.vagrant-puppet/files/var/www/html/icingaweb/css.php', + owner => 'apache', + group => 'apache', + require => File['/var/www/html/icingaweb'] +} + file { '/var/www/html/icingaweb/.htaccess': source => 'puppet:////vagrant/.vagrant-puppet/files/var/www/html/icingaweb/.htaccess', owner => 'apache',