This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Is there a way to display (outside of virtualmin) the reason for a users website being disabled on my disabled webpage. Can I retrieve that information and insert it into a php page from the Virtualmin API?
Well, whenever a site is disabled -- the DNS, website, and such are all disabled as well. So even if there were a page that displayed why it was disabled, the user wouldn't be able to see it since the DNS and website aren't working.
So, unfortunately, the answer there is no, there isn't a way to do that :-)
I've currently setup my virtualmin installation to keep DNS enabled so that disabled pages may display a custom page detailing that the page has been disabled. I would however like to display the reason from inside virtualmin as to why the page was disabled. Is there a way to access the API and extract the reason?
Sorry, I don't believe there is a way to do that. It looks like you can enable or disable a domain using the API, but I don't see a way to obtain the reason it was disabled.
Howdy,
Well, whenever a site is disabled -- the DNS, website, and such are all disabled as well. So even if there were a page that displayed why it was disabled, the user wouldn't be able to see it since the DNS and website aren't working.
So, unfortunately, the answer there is no, there isn't a way to do that :-)
-Eric
Eric,
I've currently setup my virtualmin installation to keep DNS enabled so that disabled pages may display a custom page detailing that the page has been disabled. I would however like to display the reason from inside virtualmin as to why the page was disabled. Is there a way to access the API and extract the reason?
Sorry, I don't believe there is a way to do that. It looks like you can enable or disable a domain using the API, but I don't see a way to obtain the reason it was disabled.
-Eric