public void sendReply_cgibin_writeconfig_cgi(MyHTTPServer socket, String cookie) throws Exception
	{
		List<String> reply = new ArrayList<String>();

		configNotWrittenToDisk = false;
		addHTTP200(reply, cookie);
		addPageHeader(reply, "");
		String fileName = config.getConfigFilename();

		try
		{
			config.writeConfig(fileName);
			reply.add("Wrote configuration to file: " + fileName +".<BR>\n");
		}
		catch(Exception e)
		{
			statistics.incExceptions();

			reply.add("Problem during storing of configuration-file: " + e);
			configNotWrittenToDisk = true;
		}

		addPageTail(reply, true);

		socket.sendReply(reply);
	}