Keeping it simple, without the hype. PC tips and Internet advice for mom and pop businesses.
When you are installing php or cgi scripts, sometimes the configuration file calls for the directory, such as /home/username/public_html/directory. Other programs that have an email notice function in them will ask for the location of sendmail.
If you don’t know exactly where your root or other directories are located, there’s a handy perl script that you can install called “env.pl.” The script will display your server IP, the location of sendmail, the name of your root directory, the version of perl and other scripts running on your site, and other useful variables.
Here’s a screen shot showing a partial list of environmental variables that the script will display:
You can find this script at Total Choice Hosting. To install it,
- FTP the script into your cgi-bin in ASCII format.
- CHMOD the script to 755 (Read-Write-Execute – Read-Execute – Read-Execute).
- Go to http://www.yourserver.com/cgi-bin/env.pl – you should be able to see all of your info.
Popularity: 1% [?]
Sphere: Related Content





Comments