Home About Us Web Hosting Plans & Pricing Satisfied Customers Support & Help Contact Us  

Cheap Linux Hosting Solutions by Active-Sites Web Hosting

View all cheap web hosting packages

Active-Sites Support

linux hosting support


Help Desk
Publishing your Web Site
Using FTP
Using Frontpage
Using SSL (Secure Web Sites)

Database
MySQL
Domain Names
New Domain Name
Transferring a Domain Name
Domain Registration Agreements

Server Side Includes
Random Image Generator
Random Link Generator
Random Text Generator

General Information
Frequently Asked Questions
Security Advisory Whitepaper

Email
Basic Start
Using Outlook
Using Outlook Express
Using Netscape Messenger

CGI Scripts
Installing your own CGI Scripts
Text Clock
Domain Lookup
Guestbook
Form Mail

If you need to contact us directly, or if you have an emergency with your service, you may email us at the numbers below. Emails are answered within the hour.

Data Center
240 North Fifth St.
Suite 210
Columbus, Ohio 43215 USA

Sales & Customer Service
General Administrative Offices
2431 Becket Circle
Stow, Ohio 44224
accounts@active-sites.com


Technical Services & Support
159 East State Street
Barberton, Ohio 44203


email us at: support@active-sites.com

Installing Your own CGI Scripts

1. All Perl and CGI files should be uploaded to the /cgi-bin directory. This will ensure that all scripts are executed, however you may place executable scripts in any directory.

Here are the paths to the common server resources that CGI scripts require:

Sendmail: /usr/sbin/sendmail
Perl5: /usr/bin/perl
Date: /bin/date
Java: /usr/bin/java
Python: /usr/bin/python

2. Permissions: Most scripts shouldn't require more then 755 permission settings. DO NOT set your permissions to 777 for executable files, this will disable execution through the web server.

  a. Explanation of Unix Style File Permissions
On Unix and Linux servers there are 3 diffrent types of people.
1. is "U" or user (you)
2. is "G" for group
3. is "O" for others (non server residents or viewers)

Now typically when you go to CHMOD a file what you will see is 3 columns and they look like this.



USER GROUP OTHER
read
write

exec

Now your probably saying, why do they say "set permissons to 755 when all I see is text?"

Well here is the breakdown of our math.
Read = 4 points
Write = 2 points
Exec = 1 point

So when we say 755 which is 3 numbers it really breaks down to the USER GROUP OTHER fields. For U (user) give it 7 points.. ok.. read is 4 and write is 2 and exec is 1 that's 7 points.
So for USER it's READ WRITE EXEC are marked.
Now for G (GROUP) we request you use a 5 .. READ is 4 points and EXEC is 1 point so that means for GROUP we set READ and EXEC.
Last but not least, OTHER. Again you see 5 for OTHER, which just like GROUP means set READ and EXEC permissions only.

(other examples, reading permissions)
r = 4 w = 2 x = 1 rwx = 7

-rwxr-xr-x
Ignore the first dash, then break up the above into three groups of letters. If there's a dash where a letter should be, it means that there is no permission for those people.

Remember: the first 3 apply to user, the second 3 apply to group, and the third 3 apply to others.

That's all there is to CGI and Permissions.

Credit Card Processing
cheap web hosting
We accept the following credit cards.
Ohio residence add 6.85% sales tax.


SSL Certificates


Copyright ® Active-Sites.com All Rights Reserved - Today is Saturday, February 4, 2012

About Us | Web Hosting Plans & Pricing | Terms Of Use Policy | Privacy Policy | Support & Help


Cheap Web Hosting Tier I | Cheap Web Hosting Tier II | Cheap Web Hosting Tier III | Cheap Web Hosting Tier IV

Contact Us | Satisfied Customers | Cheap Web Hosting Sitemap | linux web hosting advantages

cheap web hosting | affordable website hosting | domain hosting | linux web hosting | web hosting plans
Facebook Active-Sites        Twitter Active-Sites