|
論壇說明 |
歡迎您來到『史萊姆論壇』 ^___^ 您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的! 請點擊這裡:『註冊成為我們的一份子!』 |
|
主題工具 | 顯示模式 |
2003-05-03, 11:06 AM | #1 |
|
Netfirms 的cgi空間要怎麼用
能不能教教我...
你已一天內新開 Netfirms 問題幾篇主題, 已合併了和移到疑難區這裡,留意版區區分, 你勿再亂發了 ! |
送花文章: 0,
|
2003-05-03, 12:44 PM | #3 (permalink) |
|
Most Perl cgi scripts will work on Netfirms servers. For your scripts to work properly, you may need to change some paths or settings within the script to the following:
Perl 5 Location #!/usr/bin/perl Sendmail Location /usr/lib/sendmail CGI Url http://domain.netfirms.com/cgi-bin/file.cgi Your full or absolute root path is: $ENV{'DOCUMENT_ROOT'} Remember to use double quotes around the path. The full path to your www directory would be: "$ENV{'DOCUMENT_ROOT'}/www" The full path to your cgi-bin directory would be: "$ENV{'DOCUMENT_ROOT'}/cgi-bin" You can also find your document root by running the printenv program in your cgi-bin directory. Type: domain.netfirms.com/cgi/printenv on any web browser. It will display the absolute path and other variables needed for cgi scripts. CGI File Permissions Make sure all files and directories are set to chmod 755. The cgi-bin directory itself should be chmod 755. 能不能請問一下上面是啥意思... 還有他的真實路徑..和實際路徑是啥?? 我不太會用cgi |
送花文章: 0,
|
2003-05-04, 12:47 AM | #9 (permalink) |
|
知道這三個就好了.....
Perl 5 Location #!/usr/bin/perl←伺服器的perl程式路徑 Sendmail Location /usr/lib/sendmail←sendmail程式的路徑 CGI Url http://domain.netfirms.com/cgi-bin/file.cgi←架設後您的網址 祝:順心~~^_^ |
送花文章: 0,
|