While virtually nobody supports frontpage anymore, this still comes in hand on older servers where customers refuse to believe that frontpage is buggy, insecure software.
On a cPanel server, to reinstall frontpage extensions from the command line, do the following.
*** Note this is destructive
- SSH to the server the customer is on.
find ./ -iname '_*' -print0 | xargs -0 rm -Rf
find ./ -iname '.htaccess' | xargs rm -f
find ./ -iname '*.lck' | xargs rm -f
These commands delete all folders starting with an underscore (_), all .htaccess files, and all files with an extension of .lck. It then deletes the server configuration files for frontpage itself for the domain. Once these have been deleted, frontpage has been fully removed from the server.
To re-install frontpage, run this command.
Depending on the size of this site, this can take a few seconds, or several hours. Once completed, the customer will need to re-publish the site and/or recalculate hyperlinks.