Assorted Internet
servers | cgi scripts | seo services | design
Cannot find the perfect hosting plan for you? Try building your own Custom Web Hosting Plan and get exactly what you need.
Get Started Now!
www.
Enter your desired Domain Name:
Domain:
24/7 Chat Support

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

Instructions

  1. Download the script using the link above - it will be named fix-own.txt,
  2. Rename the script to be fix-www-links.pl so that it can be executed on the server,
  3. Upload the script to your server and change the permission on the script to be "755" - you should be able to do this in your FTP software,
  4. Log into SSH as root on your server. Move the script to the /home folder and execute it from there.
 
 
 
go to top