Don’t Understand Your Root Folder or Sendmail Location?

Posted on March 25th, 2009 by Urbain


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:

environmentalvariables

You can find this script at Total Choice Hosting.  To install it,

  1. FTP the script into your cgi-bin in ASCII format.
  2. CHMOD the script to 755 (Read-Write-Execute – Read-Execute – Read-Execute).
  3. 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

Related ...

No Comments • Posted in Web Basics for Mom and Pop Businesses

Comments

Leave a Comment...

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. Please note, however, that we cannot assume liability for misinformation or other matters. See our Policies Page for terms and conditions.

Security Code:

Need Content?
Search
Search Form
Comments are Encouraged
Subscribe with Feedcat!
Special VIP List
From time to time, you can get huge discounts on quality software or memberships that are not publicly announced. For instance, our special VIP list will give you a $57-per-month discount at Niche Rockets. The only emails you will received from this list will be for discounts. To protect you from spam, this is a double opt-in list, meaning that you'll need to confirm your subscription.
The Best Web Design Software on the Market
Fun with Networking!
Recommended Resources
The Blurbosphere - Get unlimited one way links -- for free -- by posting blurbs.

If you could easily build real content web sites that each made you between $5. and $100. per day - how many would you build? The secrets that SEO GURUS don't want you to know are now revealed! Click here now to learn the secrets in this amazing FREE PDF Special Report with over 60 min. of video!

Useful and Related Websites

Recommended Directories

More Recommended Directories

Who’s Visiting?
Alexa Stats
Technorati
Add to Technorati Favorites