I am trying to use Custom Commands to create a Custom Command button in Usermin that when clicked displays the current AWStats report for the domain of the user. But nothing I do works.
When I use $DOM/awstats/awstats.pl I get “Output from $DOM/awstats/awstats.pl .. /bin/sh: 1: /awstats/awstats.pl: not found”
However I can access the awstats report with https://domain.ltd/awstats/awstats.pl – username/password combination in a browser.
But no matter which combination of setting I use in Custom Commands I can not get the report to display when I click the button.
Should it be possible to create a Custom Command to display AWStats? If so can you please give me some pointers