• Knowledge Base: CGI-Scripts


    1. What is the path to the cgi-bin for my scripts?
    2. What is the path to perl and sendmail?
    3. Can I run CGI scripts from any directory?
    4. Where do I upload my CGI-Scripts?
    5. Freeware CGI-script basic guide.

    1. What is the path to the cgi-bin for my scripts? - Top

    You can use

    /home/virtual/userid/home/httpd/cgi-bin

    Replace userid with your domains user name.

    - Updated: Jun 7, 2001

    2. What is the path to perl and sendmail? - Top


    perl /usr/bin/perl
    sendmail /usr/sbin/sendmail


    - Updated: May 16, 2001

    3. Can I run CGI scripts from any directory? - Top

    No. By default the server is set-up so CGI scripts will only run from the cgi-bin directory. You can however make changes to your Apache config to activate this on all domains. Since there are security issues involved, we suggest you use a .htaccess file in the main HTML directory on only the domains that require this, using the following entries:

    AddType application/x-httpd-cgi .cgi
    Options ExecCGI


    - Updated: March 15, 2001

    4. Where do I upload my CGI-Scripts? - Top

    You should upload your CGI-Scripts to the CGI-Bin directory.
    CGI-Bin: /home/userid/webscripts

    Please note: Your userid is the username you chose when you signed up for your account.

    - Updated: March 15, 2001

    5. Freeware CGI-script basic guide. - Top

    Script Installs
    The Web Control panel allows you to install several scripts, below find browser paths to the Authors instructions that our installed for you with the installation. The scripts will be active within 10 minutes of submission.

    • *VBPRO Guestbook http://yourdomain-here.com/vbpro/docs
    • Forums
    • Thats an Order http://yourdomain-here.com/lto.htm
    • Free For all Links - (Freeware)
      http://yourdomain-here.com/links/manual.htm
    • Whois - (Freeware) http://yourdomain-here.com/cgi-bin/whois.cgi
    • Graphic Counter - (freeware) http://yourdomain-here.com/counter/
    • Postcards - (freeware) http://yourdomain-here.com/cards
    • pollit - (freeware) add polling to your site.
      http://yourdomain-here.com/pollit
    • Quiz Master - (freeware) http://yourdomain-here.com/quiz
    • SFE Power search-(freeware) http://yourdomain-here.com/search/instruct.htm
    • PhpMyAdmin -(freeware) http://yourdomainname-here.com/phpmyadmin. Requires the file /phpmyadmin/config.inc.php3 be configured for your DB.
      Docs located at http://yourdomainname-here.com/phpmyadmin/documentation.html



    * VBPRo by default has the email options disabled at program level.

    Note:
    All freeware scripts are made available in working order when installed from webcontrol, we cannot offer help in customizing or trouble shooting scripts you choose to change. If you should decide to try to change default settings and than the script becomes non functional just submit a reinstall from webcontrol to set it back as new.



    - Updated: Ostober 23, 2004