Description
fix-www-links.pl is a perl script that fixes all of the www static links in the file system of a server. It recreates all of the links /home/username/www that point to the folder /home/username/public_html. This script is handy when restoring backups, fixing missing www links, or recreating broken www links. This comes in handy on CPanel servers when users accidentally screw up the www links.
This script is meant to be run on the command line, as root, in the /home directory. It is not a CGI script, and will not work if not run as root.
Download
Download fix-www-links.pl |