hiyas, just to chime in on this, you should think of the security implications of what you're doing. if you're putting a button on a webpage that re-initializes your net connection, then anyone feeling particularly riley could keep you without an internet connection.
instead of apache, i'd recommend apache-ssl. i'm running both of them on a machine at home, and bless debian the only difference in installing and running it is that you type 'apt-get install apache-ssl' instead of 'apache', and then answer a couple questions in debconf. with ssl then you could have somewhat respectable security, and feel a little more comfortable with requiring some kind of password verification for what you need to do. --sean
msg12401/pgp00000.pgp
Description: PGP signature