Newsbook provides the best quality web hosting & dedicated server Newsbook is the largest web hosting company in Hong Kong
Profile Web Hosting Server Management Technical Support Corporation News Order Form Others
 
How to upload web pages:
    How to Use FTP
Cgi Program Settings:
    Counter
    Form To Mail
    CGI FAQ
Control your POP 3 account
    How to use Qmailadmin
How to Check E-Mail:
    OutLook365(2016)
    MAC
    Android
    Win10 Mail
    iphone
    foxmail for MAC
 

Technical Support

 

CGI program FAQ

 

CGI Program:

  • Can I write my own CGI programĦH 
  • What is the extension name for the CGI programĦH
  • What is the path of the PERLĦH
  • How to set the permission of the CGIĦH
  • Why is there no CGI-BIN in my directory ĦH
  • Why can't my CGI program runĦH
  • What is the absolute path of my directoryĦH
  • What is the path of the Sendmail programĦH

  • QuestionĦJCan I write my own CGI programĦH 
    AnswerĦJIf you choose88B Plan¤Î150 Plan, we will support your own CGI programs. It can be written in Perl or C. When you are using CGI, you should take care of the system resources and the security associated with it.

    QuestionĦJWhat is the extension name for the CGI programĦH
    AnswerĦJ.cgi or .pl

    QuestionĦJWhat is the path of the PERLĦH
    AnswerĦJ/usr/bin/perl ĦAYou should have the header  #!/usr/bin/perl

    QuestionĦJHow to set the permission of the CGIĦH
    AnswerĦJYou can set the permission of the  CGI to 755 or above. For the sake of securityĦAwe suggest that you set it to  755.

    QuestionĦJWhy is there no CGI-BIN in my directory ĦH
    AnswerĦJBecause the CGI can be run in any directory, you only need to upload the CGI to any directory.

    QuestionĦJWhy can't my CGI program runĦH
    AnswerĦJThe most popular cause isĦJ

                1. Perl's path is not correct.

                2. When uploading the CGI, ascii mode is not used.

                3. The permission has not been set to 755.

    QuestionĦJWhat is the absolute path of my directoryĦH
    AnswerĦJYour absolute path is /home/username/public_html or /home/hosting/username/public_html

    QuestionĦJWhat is the path of the Sendmail programĦH
    AnswerĦJSendmail is at /usr/sbin/sendmail

 
 
©1998-2020Newsbook Limited

Rm 1, 1/F, Hung Tai Bldg., 37-39 Hung To Road, Kwun Tong, Hong Kong (Property of Newsbook Group)

Tel::(852)27820197 Fax::(852)23967073 E-mail:: info@newsbook.net

Newsbook provides web hosting, website design dedicated servers, Hong Kong server colocation, China server rental. Newsbook hasWindows dedicated servers, Linux dedicated servers etc. Support php, asp, net, windows, forum, blog webhosting.

Newsbook services : email, web hosting providers, hosting services, virtual website hosts, web page design, Liunx dedicated server, Windows dedicated host, HK host colocation, server rental, China server colocation, Hong Kong server rental, China server rent, IDC data center, domain name registration, news,1, 2, sitemap