I hate VI!

well, if you can access curl, just copy and edit the file on your machine with any text editor, put it in your html folder then service apache2 start, on target machine curl ‘http://youraddress/filename’ > overwritefile.example