Skip to content

Commit

Permalink
Fixed local Nagvis Gadgets configuration in apache.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
hadu-iteratio committed Mar 11, 2024
1 parent 73bf86b commit 31d970d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions omd/packages/nagvis/skel/etc/nagvis/apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Alias /###SITE###/nagvis "###ROOT###/share/nagvis/htdocs"
Options +ExecCGI
</Location>

# Handle local Nagvis Gadgets
<Location ~ "/###SITE###/nagvis/local/userfiles/gadgets/.*\.php$">
Options +ExecCGI
</Location>

# Handle locally installed files via the internal URI /###SITE###/nagvis/local
# These files are stored below local/share/nagvis/htdocs
<Directory ~ "###ROOT###/(share/nagvis/htdocs|tmp/nagvis/share|local/share/nagvis/htdocs)">
Expand Down

0 comments on commit 31d970d

Please sign in to comment.