Web Development FAQ
|

|
|
|
 |
| Are there any restrictions on what is on my web site? |
 |
|
Yes, we do believe that we are providing a service for our customers and society; therefore,
we do not host any content that 1) is designed to promote hate towards any general segment of society,
(2) depicts a person or persons in a pornographic way or which is designed for the purposes of
sexual arousal, (3) uses copyrighted material in violation of established copyright law, or (4)
distributes services, software, or any device or information to be used in the sending of unsolicited
email, or (5) assists known terrorist groups, or (6) facilitates trade with a
country, person, or vessel on the U.S. Embargo List.
You may also not have active links to other web sites that promote these activities. For further
details please see our Acceptable Use Policy.
|
 |
| What happens when my site is reported for abuse? |
 |
|
When we receive a complaint about a web site we ask the complainant to specify the exact page(s)
that is/are bothering them. We will then review these pages to see if, in fact, they are breaking
any of our policies. If it is deemed that your site is breaking our
Acceptable Use Policies then our actions will depend on
whether this happened before and the type of abuse.
Non-Criminal Abuses (pornography, copyright issues, hate speech, etc.)
If this is the first time we have ever reported a complaint of this nature to you then the displaying
of your web site is suspended and we will contact you and ask that you correct the matter. Once you
have corrected the issues we will then restart displaying your web site. If we are contacted again
and you are still breaking our policies then we will terminate your account and notify you of the
termination.
Criminal Abuses (child pornography, hacking, terrorism, etc.)
Your account will be terminated immediately and all files and correspondence will be sent to the
appropriate authorities. You will not be allowed to retrieve any of your files or email on our
systems, so do not ask. We will also comply with all search warrants and requests from law enforcement
agencies in respect to your case (including logged visits and uploads.)
|
 |
| What is considered to be hate speech? |
 |
|
Hate speech is any language that calls for violence against another group of people. If your content
identifies a person or group of persons and then asks the viewers to take action against said person
or group of persons then that is hate speech. For instance, if your site discusses terrorism like
Al-Qaida and then calls for the torture of Usama bin Ladin, that is hate speech.
|
 |
| Can I place advertisements on my web site? |
 |
|
You can certainly place advertisements on your web pages as long as the advertisements comply with
the content rules described in the question above and our
Acceptable Use policy.
|
 |
| How much space is enough for my web site? |
 |
|
This really depends on your web site and the type of pages you will be displaying.
If a page has a lot of text but not a lot of graphics then expect each page to use
about 8K. If your pages have some decoration graphics but are still mostly text then
estimate about 128K per page. If you are displaying large amounts of graphics estimate
about 256K per page. With our smallest package you should be able to host over
1,000 pages of the most graphic intensive pages.
|
 |
| Where is my /cgi-bin directory? |
 |
|
Unlike many web hosting companies we do not place artificial limits on where you can place your
scripts. You can place your Perl, PHP, and ASP scripts anywhere on your web site and they will work.
The most important thing is that you use the correct extension for your scripts: .pl,
.plx and .cgi for Perl scripts; .php, .php3 and .php4 for PHP scripts,
and .asp for ASP scripts.
This also applies to pages containing server side includes. These pages will work from anywhere within
your web site as long as they have one of the following extensions: .shtm, .shtml or
.stm.
|
 |
| Where is the Perl interpreter located? |
 |
It is best that you use the following text as your first line in all of your Perl scripts:
#!/usr/bin/perl
|
 |
| My Perl pages that use cookies are not working? |
 |
|
In order to make our Perl as cross-platform as possible, we do not automatically print the headers
on the output pages of your Perl scripts. Therefore, you will need to add the following to your code
to your scripts in order to display your pages correctly:
print "HTTP/1.0 200 OK\n"; print "Content-type: text/html\n\n";
These two lines need to be the very first thing printed to each page.
|
 |
| Do you support the db_file.pm module? |
 |
|
Although we fully support Perl, there are some modules that require external products in order to
work correctly. The db_file.pm module, requires that Berkley DB be installed and
we have not currently implemented this. If we receive enough requests to warrant the installation
of this module then we will re-evaluate installing it on the web server.
|
 |
| Is ASP enabled for my web site? |
 |
|
Yes. By default all web sites are configured for ASP scripting. If you believe that ASP is not
working for your web site then you can download this script
and then place it in your root directory. Internet Explorer users will need to right click on the link
in order to save it.
To test the script, access your web site as http://www.yourdomain.com/test.asp.
You should see "Hello World", if you do not please contact technical support.
If for security reasons you wish to disable ASP, please contact our support department requesting
to disable ASP.
|
 |
| How do I send my form data to an email address? |
 |
|
There are several ways to accomplish this task: Use Microsoft FrontPage, pre-written Perl script,
pre-written PHP script, pre-written ASP script, custom programming or using our COM components: JMail
or CDO. The last option and probably the easiest is to point your form to our FormMail script. Here is a
quick example of this:
<FORM ACTION="/cgscripts/formmail.asp" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="RECIP" VALUE="support@chambergates.com">
<INPUT TYPE="HIDDEN" NAME="SENDER" VALUE="webmail@chambergates.com">
<INPUT TYPE="HIDDEN" NAME="SNAME" VALUE="Web Master">
<INPUT TYPE="HIDDEN" NAME="SUBJECT" VALUE="Here is my form data">
<INPUT TYPE="HIDDEN" NAME="REMOVE_NULL" VALUE="1">
<INPUT TYPE="HIDDEN" NAME="REQUIRED" VALUE="field1,field2,field3">
<INPUT TYPE="HIDDEN" NAME="CONFIRM" VALUE="/Sent.htm">
... The rest of your form
</FORM>
Optional fields:
- SENDER - This would be the email address that would appear in the From field of the email.
- SNAME - The friendly name of the sender.
- SUBJECT - The subject line of the email that is sent.
- CONFIRM - The HTML page to display after the email is sent successfully.
- REMOVE_NULL - If the value is set to one then any field that is left balnk by the user will not be included in the email that is sent.
- REQUIRED - The value will contain field names in your form that are required in order to send the mail.
FILE UPLOADS
If you want to give your user the ability to send you file attachments then you will need
to make the following changes to the above example:
<FORM ACTION="/cgscripts/formmailup.asp" METHOD="POST" ENCTYPE="multipart/form-data">
Then you will need to create an input field in your form so the user can specify a file name.
The web browser will automatically add the browse button. You can use mutiple fields to let
the user send more than one attachment.
<INPUT TYPE="FILE" NAME="FILE1">
<INPUT TYPE="FILE" NAME="FILE2">
|
 |
| How do I create a custom error page for my web site? |
 |
|
You can create custom pages that appear whenever your visitor receives an error with your web site. By
the far the most common page is for the infamous 404 Missing Page error. To enable a custom
error page you must first create the page and then upload it to your web site. Then you need to
contact our support team and give them the location and filename of the page and the error number you
would like it used for.
Error pages can be written in HTML, ASP, Perl, PHP, and use server side includes. It should be noted
that you can access the actual URL that was requested by using:
Request.ServerVariables("query_string") in ASP pages.
|
 |
| Why do I keep getting the message "HTTP 500 - Internal server error"? |
 |
This is actually a generic error message for Internet Explorer and it is hiding the real error message
from you. To see the real error message do the following:
- Select Internet Options... from the Tools menu.
- Click on the Advanced tab.
- In the Browsing category uncheck the box that says Show friendly HTTP error messages
- You should now be able to see the real error message. Please note you may have to restart Internet Explorer for this setting to work.
|
| Can I register a custom or third party component on the server? |
 |
|
Absolutely. Since some components can cause major security or stability problems we must approve their
use first. The steps for adding a component depend on whether the component is a third party component
or whether it is a custom component.
Third Party Components
- Create a directory called cgi-bin in your root web folder.
-
Upload the DLL or EXE file to this directory. Please note that we will only install registered
components, we DO NOT install evaluation versions.
-
Email support with your request to register the component. Please include the URL of the vendor
for this component and any registration information needed for the installation.
Custom Components
- Email support with the source code of the program and any compile switches to use.
-
We will compile the source code into the requested file and then install the file on the
server.
If any component is found to compromise the system, it will be removed. There is a $25 setup fee for
each registration application whether it is approved or not. Please allow 1 to 2 weeks for reviewing
custom components.
|
 |
| What version of the Microsoft .NET are you using? |
 |
|
We are using Microsoft .NET 1.1 Framework.
|
 |
| How do I setup Macromedia Contribute 3.x? |
 |
- Open your copy of Macromedia Contribute.
- Choose My Connections from the Edit menu.
- Click on the Create... button.
- The Connection Wizard should appear, click on the Next button to continue.
-
In the What is the web address (URL) of your web site box enter
http://yourdomain.com, where "yourdomain.com" is your domain name, and then click
the Next button.
-
In the How do you connect to your web server selection choose FTP. This should bring
up some new fields.
-
In the What is the name of your FTP server box enter the name of the FTP server in your
Welcome Letter (i.e. ftp01.chambergates.com)
-
In the What is the FTP username box enter the user name that was given to you in your
Welcome Letter.
-
In the What is the FTP password box enter the password that was given to you in your
Welcome Letter.
-
Click on the Next button, you should get a status dialog while your FTP configuration is
setup.
- Click on the Choose button, when you see the Remote Path Information screen.
-
Select your domain name and then click on the Open button. Then click on the Select
"yourdomain.com" button.
- Click the Next button to continue in the wizard.
-
You should see a diagnostics status window and once it completes you will be prompted for your
user information.
- In the What is your full name box enter your name.
-
In the What is your e-mail address box enter your email address and then click on the
Next button.
-
Your administrator may have created roles in which case the Role window will appear, in the
What role are you assigned to box choose the role that your administrator gave you and then
click the Next button.
- Click on the Done button on the Summary window.
|