Webservers are not always there. Although I have no experience with your 'problem'. I foresee some problems with regards to permissions, but I might be wrong.
I think I would turn it around. Write a dedicated webserver listening on a specific port; this will be the application. When a browser connects, the server will send the page with the buttons etc to the browser. When you submit the page to the application, the application will update the service configuration and restart the service or reboot the machine.
With regards to the reboot? Is it necessary to reboot a whole machine just to let the changes for one service be effective? In the Linux world it's usually suuficient to restart the service. Uou don't indicate for which OS this is.
I've once found an example on the internet for a dedicated webserver as part of a book. I will try to find it tonight.
PS The given approach is i.e. used by CUPS (which can be configured using port 631).
[edit]Think I found it
Advanced Linux Programming
[/edit]