These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Hooking into server information on the new forum.
Currently im just having a look at bootstrap and making a internal portal page for myself and possibly a external site showing all the domains/vhosts I'm running.
Is there anyway I can hook into user info for virtualmin like server domain names, description and usernames etc and show and update that from a webpage?
This way if something changes the pages get auto updated. I was hoping it would be in a mysql database but seems you use a different format somewhere.
I'm on Centos 6.5.
Just curious thats all.
Howdy,
You may want to take a look at the Virtualmin command line tools and remote API. You can see details of their usage here:
http://virtualmin.com/documentation/developer/cli
http://virtualmin.com/documentation/developer/http
http://virtualmin.com/documentation/developer/cli_examples
Found the files in /etc/webmin/virtual-server
I kinda know a little mysql reading but not direct file reading so may be abit over my head to do this.
If anyone has done it themselves feel free to share.
Edit: you posted before my reply without me knowing will look at those thanks.
May be over my head but worth a look anyway.