World Wide Web Hosting and Dedicated Servers
Our NetworkOrder Secure!Online Support!

You can't get a better Internet connection!

For the best connection on the web call
1-800-820-5494

Web Hosting

Setting CGI Scripts

To start, 90% of your form processing needs can be solved by formmail, which requires no CGI programming.

How should I upload my cgi script, ASCII or Binary?

Always upload your cgi scripts in ASCII mode.  That is the number one problem why cgi scripts don't work.

Where do I put my CGI scripts?

You should put your scripts into your cgi-bin directory which is in your www directory.  The full URL path would be
http://www.yourdomain.com/cgi-bin/file.name   Here's how a line inside your html file might look when calling the cgi script:
<form method="POST" action="/cgi-bin/file.name">

What is your server path to perl and sendmail?

Our server path to perl is /usr/local/bin/perl and sendmail is /usr/sbin/sendmail

How do I set permissions inside my cgi-bin?

If your script is getting an internal server error you probably don't have to right permissions set for your script.  Telnet into your cgi-bin directory and do the following: chmod o+x file.name  This will give universal read and execute permissions to that file.

Tip- Most CGI file permissions should be set at 755

Our NetworkOrder Secure!Online Support!

bullet.gif (973 bytes)Web Hosting Servers dot Net - Web Hosting and Dedicated Serversbullet.gif (973 bytes)Web Hosting Servers dot Net - FAQbullet.gif (973 bytes)Send E-Mail to Web Hosting Servers dot Netbullet.gif (973 bytes)