ResponsiveWeb Home > Hosting Plans > Virtual Hosting > FAQ > Details
CGI FAQ
CGI
Every account that has a domain name has its own CGI-BIN directory.  In the home directory, you should see a folder called either www.yourdomain.com.cgi or just cgi-bin.  You should upload all CGI files into this directory.  CGI scripts/programs will not work inside the HTML directory

The following is an example Perl script that you can use to test the CGI functionality of your web site:

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<html>\n";
print "<body>hello, world!</body>\n";
print "</html>";

Remember to make CGI files executable.  If you are connected via ssh or telnet, use the command chmod 755 scriptname.  If you are using WS_FTP, click on the right button (of your mouse) over the scriptname, and select the chmod command, then click on executable for all three categories.  Refer to the Permission and Security page for more information about UNIX/Linux file permissions.

If you need assistance, please contact us

 



  Hot Tip
 did you know?



Dedicated Servers Dedicated Servers
Get A Quote for HIPAA, FISMA, and GLBA standards compliant applications & dedicated servers.
Budget Servers, Gaming Servers & High Performance Servers also available!
Our Racks Colocated Servers
Budget Racks: Your Servers, Network Switches, Remote Reboot Switches, & Appliances
Security Critical Locked Racks: FISMA, HIPAA, and GLBA Compliant
Unleash the Power of ResponsiveWeb's acclaimed CommerceBolt! E Commerce in a Box
ResponsiveWeb CommerceBolt: Amazon.com grade shopping cart!
Get listed in Froogle, Pricegrabber, Bizrate, & manage your inventory, shipments, orders, & more.
Web Design Web Design
Clean, Professional, and Effective. Web Design without the child's play.
Cutting Edge Design: starting at $299, with a Free Domain Name, Free Database, & Free Month of Hosting
VoIP Home & Office VoIP Telephone Services
Unlimited USA & Canada Calls: $20 per month; Canadian & USA phone numbers available. Special Offer to SMU Students
responsivEfax: efaxing, Toll Free: with virtual attendant and more, VoIP Office: our quote is 20% less your current carrier
Contact
Offices
24 Hilltop Road
Edison NJ 08820
 
86 Timberhill Drive
Franklin Park, NJ 08823
Datacenter
470 Vanderbilt Ave
Brooklyn NY 11238
Rapid Response
866-315-3263

More Contact Options