|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/quintet/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="Adobe GoLive"> <title>Untitled Page</title> </head> <body bgcolor="#ffffff"> <p>http://www.rcn.com</p> <p><font size="2" color="#cc0000"><b>What are all of the RCN settings?</b></font></p> <table width="330" border="1" cellpadding="3" cols="2" auto;? overflow: ;> <b>RCN Server Information</b><tbody> <tr> <td width="28%">RCN.com Info Page</td> <td width="71%"><a href="http://www.rcn.com/customer/internet.php" target="_new">http://www.rcn.com/customer/internet.php</a></td> </tr> <tr> <td>Primary DNS #1</td> <td>ns1.dns.rcn.net - (207.172.3.8)</td> </tr> <tr> <td>Secondary DNS #1</td> <td>ns2.dns.rcn.net - (207.172.3.9)</td> </tr> <tr> <td>Primary DNS #2</td> <td>ns3.dns.rcn.net - (207.172.3.10)</td> </tr> <tr> <td>Secondary DNS #2</td> <td>ns4.dns.rcn.net - (207.172.3.11)</td> </tr> <tr> <td>Default Gateway</td> <td>If customer's IP address is: xxx.xxx.xxx.xxx<br> then gateway is: xxx.xxx.xxx.1</td> </tr> <tr> <td>POP Locator</td> <td><a href="http://www.rcn.com/internet/dialup/access/accessnumbers.php" target="_new">http://www.rcn.com/internet/dialup/access/accessnumbers.php</a></td> </tr> <tr> <td>Domain Name</td> <td>rcn.com - (207.172.16.171)</td> </tr> <tr> <td>Incoming Mail Server</td> <td>pop.rcn.com - (207.172.4.95 Port 110)</td> </tr> <tr> <td>Outgoing Mail Server</td> <td>smtp.rcn.com - (207.172.4.99 Port 25)</td> </tr> <tr> <td>News Server</td> <td>news.rcn.com - (199.184.165.241 Port 119)</td> </tr> <tr> <td>FTP Server</td> <td>ftp.rcn.com - (207.172.16.152 Port 21)</td> </tr> <tr> <td>Customer Homepage URL</td> <td>http://users.rcn.com/userid/</td> </tr> <tr> <td>Amount of WEB Space</td> <td>10 MB</td> </tr> <tr> <td>IP Address</td> <td>server assigned</td> </tr> <tr> <td>Login Format</td> <td>username</td> </tr> </tbody> </table> <p> <font size="2" color="#cc0000"><b>How to get CGI Access (+ assorted CGI links)</b></font></p> <br> <table width="330" border="0" cellspacing="3" cellpadding="3" cols="1" auto;? overflow: ;> <tbody> <tr> <td width="104%"><b>[Warning] </b>RCN is not responsible for the reliability of users' CGI scripts that are run on any of the RCN Servers. Certain scripts have negative effects and RCN is not responsible for these, or any other results. Further, CGI technical support is <b>NOT</b> part of the Internet Service Agreement entered into when purchasing RCN Internet Service. </td> </tr> </tbody> </table> <br> <table width="330" border="0" cellspacing="3" cellpadding="3" cols="1" auto;? overflow: ;> Any customer who buys a <a href="http://www.rcn.com/business/prodserv/business_shared.php" target="_new">web hosting package</a> with us has access to their own CGI Bin.<tbody> <tr> <td width="104%"> <ul> The location of Perl (Perl 5) on our server is:<b> /usr/bin/perl </b> Mail to should be directed to: <b>/usr/sbin/sendmail </b> The directory structure is as follows: </ul> <b>/var/www/webdocs/firstletter/secondletter/userid </b>so if your userid was "nobody" the full path to your directory would be: "/var/www/webdocs/n/o/nobody" (Be sure to add cgi-bin to the end if your script wants to know the exact path to your cgi-bin directory) <ul> All CGI programs and scripts must run through: "http://cgibin.rcn.com". For instance, the action statement of your form tag would be: </ul> <b><form action="http://cgibin.rcn.com/username/cgi-bin/script.pl" method="post"> </b> <ul> CGI scripts should have a .cgi or .pl extension or they will not be executed. For example, if your script is called "myscript", name it "myscript.cgi" or "myscript.pl". </ul> </td> </tr> <tr> <td><b>NOTE: </b>When uploading Perl scripts, make sure you use the ASCII mode of transmission! If you receive an error when running your script re-upload it making sure to use ASCII mode (Sometimes called text mode).</td> </tr> </tbody> </table> <br> <table width="330" border="0" cellspacing="3" cellpadding="3" cols="2" auto;? overflow: ;> <b>Creating your cgi-bin directory</b><tbody> <tr> <td width="5%">1.</td> <td>Create your "cgi-bin" directory inside your web directory. </td> </tr> <tr> <td>2.</td> <td>Upload your CGI files into your cgi-bin directory using standard FTP Protocol. </td> </tr> <tr> <td valign="top">3.</td> <td>Set the Permission for your "cgi-bin" directory and the scripts within your "cgi-bin" directory to <b>755</b> (Owner: read-write-execute, Group and World: read-execute).</td> </tr> <tr> <td colspan="2"><b>Correcting problems with scripts </b></td> </tr> <tr> <td colspan="2">Please make sure that the first line of the script is: <p><b>#!/usr/bin/perl</b></p> <p>or</p> <p><b>#!/usr/bin/perl -w</b><b></b></p> <p>This has the be the first line so that the server knows where the interpreter (perl) is located.</p> </td> </tr> <tr> <td colspan="2">If you have followed all of the instructions that came with your script, made sure that you set the mode of the script (to 755), and set your ftp program to ASCII mode, there is a debugging tool that we provide to assist you getting the script set up. Put this near the top of the script: <p><b>use CGI::Carp qw(fatalsToBrowser); </b></p> <p>This will send all information when the script dies back to the browser.</p> </td> </tr> <tr> <td colspan="2"> <p><br> For more information on debugging CGI Scripts, click <a href="solutionarea.asp?id=INTERNET523" target="main">here</a>. </p> </td> </tr> </tbody> </table> <br> <table width="330" border="0" cellspacing="3" cellpadding="3" cols="1" auto;? overflow: ;> For more information about CGI in general, refer to the websites listed below: <tbody> <tr> <td colspan="2"><a href="http://www.perl.com/CPAN-local/doc/FAQs/cgi/idiots-guide.html" target="_new">Idiot's Guide to Solving Perl/CGI Problems</a> </td> </tr> <tr> <td colspan="2" width="104%"><a href="http://www.perl.com/CPAN-local/doc/FAQs/cgi/perl-cgi-faq.html" target="_new">Perl CGI Programming FAQ</a> </td> </tr> <tr> <td colspan="2"><a href="http://www.worldwidemart.com/scripts/" target="_new">Matt's Script Archive</a> - offering free CGI scripts to the Web community </td> </tr> <tr> <td colspan="2"><a href="http://www.cgi-resources.com/" target="_new">The CGI Resource Index</a> - programs to make your Website interactive! </td> </tr> <tr> <td colspan="2"><a href="http://www.perl.com/pub" target="_new">Perl.Com</a>, the Perl language home page. </td> </tr> <tr> <td colspan="2"><a href="http://www.cpan.org/doc/manual/html/pod/index.html" target="_new">The Perl Manual Pages</a> </td> </tr> <tr> <td colspan="2"><a href="http://language.perl.com/faq/index.html" target="_new">Perl.Com's FAQs</a> </td> </tr> <tr> <td colspan="2"><a href="http://www.perl.org/" target="_new">The Perl Institute</a>, helping people help Perl help people. </td> </tr> <tr> <td colspan="2"><a href="http://www.perl.com/CPAN-local/SITES.html" target="_new">CPAN</a> (Comprehensive Perl Archive Network) aims to be The Perl archive, the only Perl archive you will ever need. For a site near(er) you, try the <a href="http://www.perl.com/CPAN-local//" target="_new">CPAN Multiplexer</a>.</td> </tr> </tbody> </table> <table width="330" border="0" cellspacing="3" cellpadding="3" cols="1" auto;? overflow: ;> <b>Related Topics:</b><tbody> <tr> <td><a href="solutionarea.asp?id=2%2E0%2E262601%2E2252652" target="main">What is CGI</a>? </td> </tr> </tbody> </table> </body> </html>