<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[FastWebHost]]></title>
<link><![CDATA[https://support.fastwebhost.com/]]></link>
<description />
<generator><![CDATA[Kayako fusion v4.73.3]]></generator>
<item>
<title><![CDATA[Can you explain permissions?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/126]]></link>
<guid isPermaLink="false"><![CDATA[069059b7ef840f0c74a814ec9237b6ec]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:29:43 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[Owner = the files user (you) Group = the files group Others = others Permissions Definitions: r = read access x = execute access w = write access Numerical Definitions: r = 4&nbsp;w = 2&nbsp;x = 1 You will come to recognize, if you do not already, Chmod a...]]></description>
<content:encoded><![CDATA[<p>Owner = the files user (you) <br />Group = the files group <br />Others = others <br /><br />Permissions Definitions: <br /><br />r = read access <br />x = execute access <br />w = write access <br /><br />Numerical Definitions: <br /><br />r = 4&nbsp;<br />w = 2&nbsp;<br />x = 1 <br /><br />You will come to recognize, if you do not already, Chmod as a word used for changing Permissions from within Telnet or your FTP client. <br /><br />Some scripts will tell you to chmod 775 (for example). When using the numeric system, the code for permissions is as follows: <br /><br />4 + 2 + 1 (rwx) = 7 <br /><br />The first number applies to the Owner, the second number applies to the Group, and the third number applies to Others. Therefore the first 7 of the chmod 775 tells Unix to change the Owner's permissions to rxw (because r=4 + w=2 + x=1 adds up to 7, this giving the Owner Read, Write, and Execute Permission. The second 7 applies to the group, this giving the Group Read, Write, and Execute Permission, and the last number 5, refers to Others (4 + 1= 5), giving Others only Read and Execute Permission. The permissions for chmod 775 look like this:</p>
<p><span style="font-size: small;">-rwxr-xr-x</span><br /><br />Permissions are always broken up into three groups of letters, however if there is a dash, this dash simply means that Permission wasn't given for that particular function, for example in the chmod 775, Permission to Write was not given to Others. <br /><br />Remember: the first 3 letters always apply to Owner, the second 3 apply to Group, and the third 3 apply to Others</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[CGI-BIN and Perl scripts not working on my domain ?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/127]]></link>
<guid isPermaLink="false"><![CDATA[ec5decca5ed3d6b8079e2e7e7bacc9f2]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:31:38 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[There are lot of reasons for cgi and perl scripts not working.
You can do a small test on your cgi-bin. Please see below steps.&nbsp;
1) Create test.pl file in notepad or any text editor with the following code:&nbsp;

#!/usr/bin/perlprint "Content-Ty...]]></description>
<content:encoded><![CDATA[<p>There are lot of reasons for cgi and perl scripts not working.</p>
<p>You can do a small test on your cgi-bin. Please see below steps.&nbsp;</p>
<p>1) Create test.pl file in notepad or any text editor with the following code:&nbsp;</p>
<hr id="null" />
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">#!/usr/bin/perl<br />print "Content-Type: text/html\n\n";<br />print "Cgi-bin and perl test ";</span></p>
<hr id="null" />
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">2) upload script to cgi-bin folder in the ASCII mode</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">3) Set test.pl permissions to 755</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">4) Type <a href="http://www.yourdomain.com/cgi-bin/test.pl">http://www.yourdomain.com/cgi-bin/test.pl</a>&nbsp; to test the script.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">If you can see the message "Cgi-bin and perl test" then your cgi-bin and perl scripts are working fine on your domain.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">You need to check your scripts, permissions and upload mode. All these are very important to run successful scripts.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">If you are still getting&nbsp;errors open a helpdesk ticket specificifying the error, along with your logins, to troubleshoot.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Do my CGI scripts need to be in my &quot;cgi-bin&quot; folder?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/128]]></link>
<guid isPermaLink="false"><![CDATA[76dc611d6ebaafc66cc0879c71b5db5c]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:33:36 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[All .cgi and .pl can only be executed in cgi-bin at this time.]]></description>
<content:encoded><![CDATA[<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">All <strong>.cgi</strong> and <strong>.pl</strong> can only be executed in cgi-bin at this time.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to setup bnbform on website ?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/129]]></link>
<guid isPermaLink="false"><![CDATA[d1f491a404d6854880943e5c3cd9ca25]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:34:25 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[Here are the steps you need to follow to setup bnbform on your site:
1. Download this zip file that has all the following files
bnbform.zip



Files
Description



readme.txt
bnbform.cgi
bnbform.htm
mymessage.baut
oops.htm
thanks.htm


...]]></description>
<content:encoded><![CDATA[<p>Here are the steps you need to follow to setup bnbform on your site:</p>
<p>1. Download this zip file that has all the following files</p>
<p><a href="ftp://ftp.bignosebird.com/bnbform.zip">bnbform.zip</a></p>
<table style="width: 380px; height: 91px;" border="1">
<tbody>
<tr>
<td>Files</td>
<td>Description</td>
</tr>
<tr>
<td>
<p>readme.txt</p>
<p>bnbform.cgi</p>
<p>bnbform.htm</p>
<p>mymessage.baut</p>
<p>oops.htm</p>
<p>thanks.htm</p>
</td>
<td>
<p>Detail setup and configure instructions</p>
<p>The script</p>
<p>Sample form that use the script</p>
<p>Auto response message</p>
<p>Missing information page<br /><br />Thank you page</p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />2. Use the program Notepad to open bnbform.cgi script and make sure<br />it says: #!/usr/bin/perl on the first line.</p>
<p>3. Make sure this line $SMTP_SERVER = "localhost" is disabled by placing a "#" in front of it.</p>
<p>4. Make sure this line $SEND_MAIL="/user/sbin/sendmail -t" is enabled<br />by removing a "#" in front of it.</p>
<p>5. Save the file with notepad and keep the same extension (cgi).</p>
<p>6. Open mymessage.baut and fill in the body of your auto response<br />message. Save the file with the same extension.</p>
<p>7. Upload the files bnbform.cgi and mymessage.baut to your cgi-bin<br />folder in ASCII mode and make sure you set the permission on<br />bnbform.cgi to 755.</p>
<p>8. Open bnbform.htm and go down to &lt;!-- SCRIPT<br />CONFIGURATION SECTION --&gt;.</p>
<p>9. Change the "submit to" value, to<br />"<a href="mailto:youremailaddress@yourdomainname.com">youremailaddress@yourdomainname.com</a>".</p>
<p>10. Change the form_id value to the subject name of the email that<br />will be sent to you when someone clicks "submit" on the form.</p>
<p>11. Change the ok_url value to the web location of thanks.htm.</p>
<p>12. Change the not_ok_url value to the web location of oops.htm.</p>
<p>13. Customize the bnbform.htm to fit your website.</p>
<p>14. Save bnbform.htm and keep the same extension.</p>
<p>15. Customize the thanks.htm and oops.htm to fit your website and<br />save them as well.</p>
<p>16. Upload the other files bnbform.htm, oops.htm, and thanks.htm to<br />your web page directory but not in cgi-bin folder.</p>
<p>17. Now the&nbsp;Bnbform is ready to use!</p>
<p>If you have any problems in configuration, please open a helpdesk ticket.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[I am having a problem with my CGI script. Do you have any advice ...]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/130]]></link>
<guid isPermaLink="false"><![CDATA[9b8619251a19057cff70779273e95aa6]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:35:19 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[Below are solutions to some of the most common CGI script problems. When I activate my CGI program, I get back a page that says "Internal Server Error. The server encountered an internal error or mis-configuration and was unable to complete your request."...]]></description>
<content:encoded><![CDATA[<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">Below are solutions to some of the most common CGI script problems. <br /><br />When I activate my CGI program, I get back a page that says "Internal Server Error. The server encountered an internal error or mis-configuration and was unable to complete your request." <br /><br />This is generally caused by a problem within the script. Check your script settings again to see that you have entered the correct server information and have set the correct permissions for the script. If this information is correct, you'll need to contact whoever wrote or is distributing the script for further assistance. <br /><br />I am being told "File Not Found," or "No Such File or Directory." <br /><br />Upload your Perl or CGI scripts in ASCII mode, not binary mode. <br /><br />When I test my Perl script in local mode (by Telnet), I have the following error: "Literal @domain now requires a back slash at myscript.pl line 3, within string. Execution of myscript.pl aborted due to compilation errors." <br /><br />This is caused by a misinterpretation by Perl. You see, the "@" sign has a special meaning in Perl; it identifies an array (a table of elements). Since it cannot find the array named domain, it generates an error. You should place a back slash (\) before the "@" symbol to tell Perl to see it as a regular symbol, as in an email address. <br /><br />I am getting the message "POST not implemented." <br /><br />You are probably using the wrong reference for cgiemail. Use the reference /cgi-bin/cgiemail/mail.txt. Another possibility is that you are pointing to a cgi-bin script that you have not put in your cgi-bin directory. In general, this message really means that the web server does not recognize the cgi-bin script you are calling as a program. It thinks of it as a regular text file.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[I uploaded my CGI script . How to execute that script ?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/131]]></link>
<guid isPermaLink="false"><![CDATA[1afa34a7f984eeabdbb0a7d494132ee5]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:36:24 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[Before executing scripts you need to follow the steps below to avoid any errors:
1) You need to upload your script to&nbsp;the "cgi-bin" directory.
2) Make sure you upload them in ASCII mode.
3) Change permissions to 755 for the script (chmod 755 ).
T...]]></description>
<content:encoded><![CDATA[<p>Before executing scripts you need to follow the steps below to avoid any errors:</p>
<p>1) You need to upload your script to&nbsp;the "<strong>cgi-bin</strong>" directory.</p>
<p>2) Make sure you upload them in <strong>ASCII</strong> mode.</p>
<p>3) Change permissions to <strong>755</strong> for the script (chmod 755 ).</p>
<p>Then you can access your script&nbsp;via&nbsp;<a href="http://www.yourname.com/cgi-bin/scriptname.cgi">http://www.yourname.com/cgi-bin/scriptname.cgi</a></p>
<p><strong>Note</strong>: <strong>You can't run CGI or PERL scripts when your domain is under propagation.</strong></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[What scripts are banned on your servers ?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/132]]></link>
<guid isPermaLink="false"><![CDATA[65ded5353c5ee48d0b7d48c591b8f430]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:37:10 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[The following scripts are banned from use on our servers and may not be uploaded or run. Reasons for banning them include adverse effects on server load, invitations to hackers/spammers/criminal activity, etc. IRC egg drops Proxy servers Mail bombers Anon...]]></description>
<content:encoded><![CDATA[<p>The following scripts are banned from use on our servers and may not be uploaded or run. Reasons for banning them include adverse effects on server load, invitations to hackers/spammers/criminal activity, etc. <br /><br />IRC egg drops <br />Proxy servers <br />Mail bombers <br />Anonymous mailers <br />Optin Lists <br />Mass Mailing scripts <br />IP spoofers <br />Port scanners <br />nph-proxy <br />UBB (Ultimate Bulletin Board, all versions) <br />Ikonboard, Yabb (all versions) <br />lstmrge.cgi <br />FormMail.cgi, FormMail.pl from Matt's Script Archive are not allowed. <a href="http://www.scriptarchive.com/formmail.html" target="_blank"><span style="color: #688291;">See Here</span></a><br />Greymatter (<strong>gm.cgi</strong>)&nbsp;<br />Cgi/Perl Content management systems like Moveable Type ( mt.cgi ).</p>
<p><br />Shell, SSH, Telnet Scripts and Shell, SSH, Telnet Alternatives.&nbsp;<br />Any script that uses &amp; processes a massive number of flatfiles or large flatfile databases</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[What file permissions do I need for my CGI scripts?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/133]]></link>
<guid isPermaLink="false"><![CDATA[9fc3d7152ba9336a670e36d0ed79bc43]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:37:42 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[CGI scripts must be set with executable file permissions, or requests for the script from the web server will result in an Internal Server Error.
Scripts that need to be executable should have their permission set with chmod 755. This sets the file's per...]]></description>
<content:encoded><![CDATA[<p><strong>CGI scripts</strong> must be set with executable file <strong>permissions</strong>, or requests for the script from the web server will result in an <strong>Internal Server Error</strong>.</p>
<p>Scripts that need to be executable should have their permission set with <strong>chmod</strong> <strong>755</strong>. This sets the file's permissions so that the file's owner may read, write, and execute the file; and anyone else can only read and execute it.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[What is SSI? and how do I use it ?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/134]]></link>
<guid isPermaLink="false"><![CDATA[02522a2b2726fb0a03bb19f2d8d9524d]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:38:28 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[
Server Side Includes (SSI)When using a UNIX/LINUX system it is sometimes necessary to enable certain HTML files executable for the purpose of using SSI. Server Side Includes are often used to run a cgi script. An include is called with an example such a...]]></description>
<content:encoded><![CDATA[<div>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><span style="font-size: small;">Server Side Includes (SSI)<br /><br />When using a UNIX/LINUX system it is sometimes necessary to enable certain HTML files executable for the purpose of using SSI. Server Side Includes are often used to run a cgi script. An include is called with an example such as this:<!--#exec cgi="/cgi-bin/example.cgi"--> After you insert your include, you must mark the HTML file as executable so the server will parse the file. This is done using the two options below:&nbsp;<br /><br />1) Renaming the file to .shtml On our server any file named .shtml will be parsed. So instead of having an index.html file, you would name it index.shtml. This is the easiest way of enabling includes. <br /><br />2) CHMODing the file to 777: With CHMOD 777 you can also mark a file as executable. It is important to only make the files which you want parsed, executable. This poses certain security issues as well as a strain on our resources, as the processor has to work harder to parse a file. <br /><br /></span> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><span style="font-size: small;"><strong>Reasons for Using SSI</strong> <br />SSI is often used to include something into an HTML page. You can insert the contents of one HTML page into another page. An example of a practical usage for this would be to include your e-mail address at the bottom of each page. If you do this as an include, then, when your e-mail address changes, you will only have to update it on one page and not your entire web site. Another usage is to call cgi scripts into action. Many counters, clocks, and other scripts are called using SSI. The command used will most likely be provided in the documentation of your cgi script.</span></span></p>
</div>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">&nbsp;</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Where can I find server paths used in my CGI or PERL scripts?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/135]]></link>
<guid isPermaLink="false"><![CDATA[7f1de29e6da19d22b51c68001e7e0e54]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:39:16 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[
The following server resource paths are applicable to only CPanel customers.

Perl path ( version 5.006001 ) : /usr/bin/perl
Absolute path for your html files/scripts: /home/username/public_html/
Absolute path for your cgi-bin :&nbsp; /home/username...]]></description>
<content:encoded><![CDATA[<hr id="null" />
<p><strong>The following server resource paths are applicable to only CPanel customers.</strong></p>
<hr id="null" />
<p><strong>Perl path ( version 5.006001 ) :</strong> /usr/bin/perl</p>
<p><strong>Absolute path for your html files/scripts</strong>: /home/username/public_html/</p>
<p><strong>Absolute path for your cgi-bin</strong> :&nbsp; /home/username/public_html/cgi-bin/</p>
<p><strong>Sendmail</strong>: /usr/sbin/sendmail</p>
<p><strong>Date</strong>: /bin/date</p>
<p><strong>Java</strong>: /usr/bin/java</p>
<p><strong>Whois</strong>: /usr/bin/whois</p>
<p><strong>Python</strong>: Python: /usr/bin/python</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Where do I put my CGI or PERL scripts?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/136]]></link>
<guid isPermaLink="false"><![CDATA[42a0e188f5033bc65bf8d78622277c4e]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:39:47 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[You need to upload all your .cgi or .pl scripts in "cgi-bin" folder only.
You can find "cgi-bin" folder in the "public_html" folder.]]></description>
<content:encoded><![CDATA[<p>You need to upload all your <strong>.cgi</strong> or <strong>.pl</strong> scripts in "<strong>cgi-bin</strong>" folder only.</p>
<p>You can find "<strong>cgi-bin</strong>" folder in the "<strong>public_html</strong>" folder.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Which script I need to use for my Formail application ?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/137]]></link>
<guid isPermaLink="false"><![CDATA[3988c7f88ebcb58c6ce932b957b6f332]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:40:15 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[ You can download bnbform.cgi from http://www.bignosebird.com/carchive/bnbform.shtml 
Bnbform.cgi is very easy to setup and more secure than other scripts. Install bnbform.cgi on your site as per installation instructions. We also highly recommend http:/...]]></description>
<content:encoded><![CDATA[<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"> You can download bnbform.cgi from <a href="http://www.bignosebird.com/carchive/bnbform.shtml ">http://www.bignosebird.com/carchive/bnbform.shtml </a></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">Bnbform.cgi is very easy to setup and more secure than other scripts. Install bnbform.cgi on your site as per installation instructions. We also highly recommend http://www.tectite.com/formmailpage.php<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Why am I getting the &quot;Internal Server Error (500)&quot; message?]]></title>
<link><![CDATA[https://support.fastwebhost.com/index.php?/Knowledgebase/Article/View/138]]></link>
<guid isPermaLink="false"><![CDATA[013d407166ec4fa56eb1e1f8cbe183b9]]></guid>
<pubDate><![CDATA[Mon, 07 Aug 2006 13:40:55 -0700]]></pubDate>
<dc:creator><![CDATA[Michael]]></dc:creator>
<description><![CDATA[Internal Server Error (500) errors are typically, something wrong in the syntax of your script. Most often you should check to make sure you have the path to PERL correct. Currently we are running Perl5 on our servers.The correct path to PERL is: #!/usr/b...]]></description>
<content:encoded><![CDATA[<p>Internal Server Error (500) errors are typically, something wrong in the syntax of your script. Most often you should check to make sure you have the path to PERL correct. Currently we are running Perl5 on our servers.<br />The correct path to PERL is: #!/usr/bin/perl <br />Here are the correct paths to the common server resources that CGI scripts often require:</p>
<p>Perl version 5.006001: /usr/bin/perl <br />Absolute path for your files/scripts: /home/username/public_html/ <br />Absolute cgi-bin path: /home/username/public_html/cgi-bin/ <br />Sendmail: /usr/sbin/sendmail <br />Date: /bin/date <br />Java: /usr/bin/java <br />Whois: /usr/bin/whois <br />Python: Python: /usr/bin/python</p>
<p align="left">Other most common reasons are:</p>
<ul>
<li>
<div align="left">Wrong sysntax in your cgi script</div>
</li>
<li>
<div align="left">Wrong file permission, chmod 777 world read, write execute is most common error. Try chmod to 755</div>
</li>
<li>
<div align="left">Wrong File path. See correct format above.</div>
</li>
<li>
<div align="left">Cgi Script was not uploaded in ASCII mode.</div>
</li>
</ul>
<p>&nbsp;</p>]]></content:encoded>
</item>
</channel>
</rss>