頂尖科技 ,
迎向萬變未來!


Mike Chan
(Swin Solutions)
常 見 問 題

Tutorial Video:
How to get Dreamweaver?
How to built a site?

------------------------------------------------------------------------------------------------

A. General Setup
1. How do I access the control panel for my account?
2. I am having trouble logging into my account. Help!
3. What is public_html and public_ftp, and why are they in my home directory?

B. Control Panel Overview
1. The file manager
2. The mail manager
3. Site Statistics
4. FTP manager
5. SSH
6. Password Protected Directories
7. Custom error pages
8. MySQL
9. MIME types
10. CRONTAB
11. ENTROPY CHAT
12. Shopping cart
13. Search Engine Submission
14. Sub domains
15. CGI Center
16. Backup

C. FTP
1. FTP Information
2. Recommended FTP Clients
3. Home Directory

D. Email
1. General Setup
2. Outlook Express Setup
3. Eudora Setup
4. Netscape Setup
5. Using the mail manager

E. Telnet - SSH
1. What is telnet and do I need it?
2. Why we use SSH
3. Unix Commands
4. IRC

F. File Manager
1. General Info

G. CGI
1. What is CGI?
2. Where do I put CGI scripts?
3. Paths to Date, Mail, Perl etc.
4. Setting Permissions Using Your File Manager
5. Setting Permissions Using WS_FTP for Windows
6. Common CGI Problems

H. Microsoft Front Page
1. MICROSOFT FRONTPAGE 98
2. MICROSOFT FRONTPAGE 2000

I. Form Mail
1. Setup Information

J. Secure Server
1. SSL - Secure Server

 

------------------------------------------------------------------------------------------------
Answers
A. General Setup
1. How do I access the control panel for my account?

Your control panel is located at http://www.yourdomain.com/cpanel OR http://123.45.67.123/cpanel (please replace the example IP address with the IP address provided with your account)
[Back to top]

2. I am having trouble logging into my account. Help!
Your Control Panel will ask you for a username and password. Please use the username and password e-mailed to you after you registered.
NOTE: The password is CaSe SenSiTiVe , so you will need to enter it exactly as it appears. This can be changed from the Control Panel by clicking the "change password" icon. If you forget your username/password, please email to us. An email with your information will be emailed to the email account you used to signed up for your account.
[Back to top]

3. What is public_html and public_ftp, and why are they in my home directory?
When you first log into your account, you will see various hidden files and directories, among them, the two that are most important are the public_html and public_ftp directories.DO NOT DELETE OR RENAME any of these directories or any hidden files that you may find. These directories are automatically setup by the system and are required in order for your account to function. Deleting or renaming any of them will cause fatal errors that can only be repaired by deleting and resetting your account.
Of these directories, the ONLY ONE that is important to you is the public_html directory. This is the directory where you will upload your web pages and create other subdirectories that will pertain to your web site and be viewable from your web browser. Your pages WILL NOT be viewable on a web browser unless they are uploaded to this directory.

When you initially enter your public_html directory, you will see one directory, which is your cgi-bin, and one html file, which is the placeholder page created by the system when your account is created.
[Back to top]


B. Control Panel Overview
1. The file manager

By clicking this option you can view all the directories and files in your account, as well as change permissions for directories and files, create directories, create and edit files, and upload files from your hard drive to your site.
[Back to top]

2. The mail manager
This option is where you create and edit, change passwords, forward email to other email accounts, and create autoresponders for your POP3 email accounts. (Note: It is not necessary to create email aliases as your default email account acts as a "Catch All Account.?In other words anything@yourdomain.com will be delivered to your default mail account.)
[Back to top]

3. Site Statistics
This option will assist you in monitoring visitors to and from your site. This area features 3 different views of your traffic: Analog, which basically provides you with a quick summary, Webalizer, which provides you with more detailed information, and Last 300 visitors, with detailed information on each. This area also contains a link to access your error log, which will assist you in trouble shooting your scripts.
[Back to top]

4. FTP manager
This option is available in service plans with multiple ftp accounts and also those with anonymous ftp. From here your can setup your users, setup how anonymous users are treated, change anonymous user policies, view who is online, and remove anyone from a session.
[Back to top]

5. SSH
This allows you to access your site via a terminal screen generated from the Control Panel. Where enabled you may also use an SSH client to log directly into your directories and manage your files.
[Back to top]

6. Password Protected Directories
This option allows you to select the directory you wish to password protect from a drop down box and then enter usernames and passwords of those users you want to allow to have access to that part of your web site. You can remove them just as easily.
You cannot use this option with FrontPage. This action will have to be taken within the FrontPage program.
[Back to top]

7. Custom error pages
This option will assist you in customizing the look of your error pages. It includes 400, 401, 403, 404, and 500 error pages.
[Back to top]

8. MySQL
MySQL is a database engine that you can use with your web site. There are two separate features in the Control Panel. One allows you to create your databases and assign users while the other feature permits you to edit the database.
[Back to top]

9. MIME types
MIME = Multipurpose Internet Mail Extensions - This option allows you to add Mime Types to your account. Refer to the section dedicated to this for more information.
You cannot use this option with FrontPage Extensions installed. You will have to use FrontPage to perform this function.
[Back to top]

10. CRONTAB
This option will assist you setting up automated server side processes.
[Back to top]

11. ENTROPY CHAT
This option will allow you to setup a web based chat room on your site.
[Back to top]

12. Shopping cart
This feature is still under development with several cart scripts already being tested. However, once it is complete, users will be able to setup a fully functional shopping cart on their site at the click of a button. If you require a shopping cart now, we can arrange to install a functioning script at no extra charge.
[Back to top]

13. Search Engine Submission
This option will assist you in submitting your URL to several of the popular search engines. This area is being tested with several different scripts, so you may notice changes occurring from time to time.
[Back to top]

14. Sub domains
This option will assist you setting up subdomains of your main domain name. Subdomains are anydomain.yourdomain.com. The subdomains that are setup through your control panel draw their resources from the parent plan and do not come with an IP address.
[Back to top]

15. CGI Center
This option provides you with easy installation of the following cgi scripts: Random HTML Editor; Guest book; Counter; Clock; Countdown; FormMail; Entropy Search Engines.
[Back to top]

16. Backup
This allows you to back up all your files ready for download.
[Back to top]


C. FTP
1. FTP Information

Your host name would be your IP address or domain name. (no http:// in front, just the IP or domain name as your hostname)
Your username is the username we provided you with.

Your password is the password we provided or whatever you changed it to subsequently.
[Back to top]

2. Recommended FTP Clients
We recommend WS_FTP as a FTP client for our services. You can visit the WS_FTP web site and download the FTP client for free here.
[Back to top]

3. Home Directory
Once you logon you will be in your home directory. There are many files and folders already sitting in your home directory. Each folder has its own purpose. index.html is generally your homepage, sometimes can be called default.htm or index.htm depending on what program you're using.

SPECIAL NOTE: You should never delete or edit any files or folders that are throughout your home directory initially.

Explanation of each folder once you login.

public_ftp - the folder is used for your anonymous users to download/upload public files
public_html - the folder stores all html files for your domain (same folder as the www folder)
tmp - the folder contains webalizer stats
mail - the folder holds all POP mail accounts for your domain
www - the folder stores all html files for your domain (same folder as the public_html folder)
Note to Microsoft FrontPage Users
Customers with FrontPage extensions installed on their site should use FrontPage publishing feature to transfer files. Using regular FTP can corrupt the extensions unless you know what you're doing. If FP extensions do become corrupted we can always delete and reinstall them without deleting your site.
[Back to top]


D. Email
1. General Setup

Mail programs vary in the way you setup preferences and options. Remember your POP3 account is the account name you specify in your Mail Manager and your incoming POP3 server is always yourdomain.com (or your IP if you have an IP account)

You create/delete/edit e-mail usernames and e-mail passwords at the Mail Manager through your web browser at http://yourdomain.com/cpanel. Note: Your e-mail username/password is not necessarily the same as your web hosting account username/password.

You can use our Web-Based Email Program, NeoMail at http://yourdomain.com/webmail/ (be sure to add the last slash '/')This web-based program is a simple sender/receiver and means you can reach your mail from any internet enabled computer. It's easy to set up from your Control Panel.

OR

you can use one of thepopular mail clients - Eudora, Netscape Messenger or Microsoft Outlook. Find set up information for these programs from the Support Index page.

E-Mail Setup:

Incoming Mail (POP3): yourdomain.com
Outgoing Mail (SMTP): mail.yourdomain.com ORuse the e-mail account you have with your ISP, for example if your provider is EarthLink, it will look like this: mail.earthlink.net, This will not affect your e-mail address, just the outgoing server it is sent through, no one can see the difference.

POP3 Account Username: This will be the e-mail account name (i.e. 'webmaster' or 'support') you create through your mail manager in your control panel, note this will not always be the same as your control panel login and password, this can be different and changed through the mail manager in seconds.

All mail by default (any-name@yourdomain.com) will automatically be forwarded to your main account, or to an account of your choice, so it's not necessary to create separate mailboxes for different accounts unless they are assigned to different people. Additional accounts can be created, edited, deleted from the mail manager interface. Note, you can setup different passwords from your mail manager for each e-mail account.
[Back to top]

2. Outlook Express Setup

Setting up Microsoft Outlook Express:

1. After loading Outlook, choose Tools... --> Accounts ...

2. Click mail tab, then add mail account, Click OK.

3. The wizard will take you through several steps;

Display Name - Put your e-mail address, next
E-mail Address - Put your e-mail address, next
Incoming mail (POP3) - yourdomain.com (no http://)
Outgoing mail (SMTP) - yourdomain.com (no http://) OR your ISP's outgoing SMTP, next
Account name: E-mail username,
Account password: E-mail password, next
Finish, you're done!
Free Outlook Download:
http://www.microsoft.com

NOTE: CPanel also provides an Auto config feature for Microsoft Outlook Express.
[Back to top]

3. Eudora Setup

Setting up Eudora:

1. Select Tools...Personalities.

2. Right click the left-hand side of the screen. Select 'New'.

3. The 'New Account Wizard' will appear. Type in a name for this account and select 'Next>'.

4. Select 'Create a brand new e-mail account' and select 'Next>'.

5. Type in your actual name (not your e-mail address. and select 'Next>'.

6. Type in the e-mail address you wish people to send your e-mail to (this can be an alias or a true POP box.. Select 'Next>'.

7. Type in the true user for this POP box (this is NOT an alias.. Select 'Next>'.

8. Select 'POP' for type of incoming mail server. Then type in your domain name in 'Incoming Mail Server' field. Select 'Next>'.

9. Select 'Finish'.

10. Right-click on the new personality created, and select 'Modify'.

11. In the 'SMTP Server' field, type in your domain without the http://www OR the name of your local ISP such as AOL, Earthlink, AT&T. mail server. Select 'OK', and you are ready to go!

Free Eudora Download:

Find the latest version to download, see tutorials, read FAQ's, join mailing lists, join newsgroups and more at http://eudora.qualcomm.com/eudoralight/

[Back to top]

4. Netscape Setup

Setting up Netscape:

Your Name = username

Email Address = username@yourisp.com (your dialup email address)

Reply to = anything@yourdomain.com (this can be your email address for your domain)

Mail Server username = your username

Outgoing Smtp = mail.yourdomain.com OR mail.yourisp.com

Incoming POP3 = yourdomain.com with anything@yourdomain.com (this can be any email address you have setup for your domain)

To check numerous POP accounts, read the manual or help files that come with your email client software for configuration.
[Back to top]

5. Using the mail manager
Adding / Removing POP Email Accounts
To create a new pop email account click on the Add/Remove accounts icon. You will be taken to a new screen.
Type the username you want in the Email box, and the password you choose for this account in the Password box. Click Create and your new account will be activated.

In order to receive mail sent to this address, you must set up the new account in the program you use for email. For example, if you access your email through your browser, you need to add this account to your browser's email program.

New accounts are added to email programs in various ways. If you are unfamiliar with how your email program works, you will need to access the support files for information on your particular program.

However, most programs will ask you for a username and two services. One service will be POP3 and the other is usually SMTP.

Type in the username that you chose for your new account. Type your domain name where it asks for your POP3 account. For example, yourdomain.com. Do not add your username in the POP3 box, just the domain name as illustrated.

SMTP is your ISP - the service you use to send email. You cannot send email from the server that your domain is installed on. You can only receive mail through your domain server. Most programs just want you to type the domain name of your ISP, which is the last part of your email address: yourISP.com, where your email address is yourname@yourISP.com.

These are typical instructions for setting up a new email account. Your program may require something different. It is not possible for us to provide instructions for every possible configuration, nor provide support for your individual software. If you have problems, please contact your software provider for support.

To delete a pop account, click on Click Here To Delete Account, choose the address you want to delete from the drop down menu, and click the Delete button.


Default E-Mail Account
Click this link to set the default email account. Your default email account is your "Catch All" email account. Any mail addressed to your domain that does not have an individual account set up for it will automatically go to this address.
You can change the username portion of your default address. Just click on Click Here to Change Default Address and type in the newaddress. Type the entire address: yourname@yourdomain.com. Then click Change.

Make sure you are using an account that actually exists. If the account doesn't exist, set it up using the Pop Email Accounts feature.


Autoresponders
Auto-responders will automatically send an email for you. Autoresponsers are typically used to send information in response to a visitor's request.
For example, visitors can click on a link that says Click Here to Receive Special Report. When the visitor clicks on the link, their email program will open a new message addressed to your autoresponder. When they send the email, your autoresponder will reply by automatically sending your Special Report to the visitor.

To create an Autoresponder, just click on Click Here To Add AutoResponder.


Block or Bounce Unwanted Email
You can block unwanted email according to email address, subject, any header, recipient, or even phrases inside the body of the message.
Just use the drop down menus to choose what you want blocked. For example, you might want to filter out porn sites. You could choose Subject, Body or Any Header from the first drop down menu, and Contains from the second drop down menu. Then type a phrase or word that frequently appears in the header or body of email you receive that promotes porn sites.

To block email from a specific source, just choose From in the first drop down menu, then Equals from the second menu. Type in the person's email address in the box and click Activate.


Email Forwarding
You can have any or all email addressed to your domain account forwarded to an outside email account or to a different email address within your domain.
Simply type the username of the address you want mail forwarded from in the first window, and the complete email address you want the mail forwarded to in the second window.

Remember, you can forward mail to any address, inside or outside of your domain. For example: yourmail@aol.com or yourmail@yourdomain.com.

To stop forwarding mail, simply choose the address you want to stop from being forwarded, and click on delete.


Email Aliases
You never have to create email aliases. Your default email account is setup as a "Catch All" account, meaning that any email coming to anything@yourdomain.com is delivered to your default account.
[Back to top]


Telnet - SSH
1. What is telnet and do I need it?

Telnet is a protocol that allows you to virtually access your files as if you were using a computer terminal at the server. Most users don't need telnet unless they are compiling software or setting permissions on programs.

The implementation of telnet that we use is called SSH, it's more secure than regular telnet, to gain telnet access you will need to download SSH software by clicking here. (Click Here for Macintosh version). You can also gain shell access via the CPanel by clicking on the SSH/Telnet icon. This activates an applet which connects you to your web site files securely.

Program Setup:

Protocol: SSH
Hostname: yourname.com
Port: 22
Cipher: 3DES
Authentication: RSA
To create a key click 'Advanced' then 'Create Identity File'
[Back to top]

2. Why we use SSH

As the internet grows it is more frequently the subject of security breaches. The easiest way to hack a web site is to setup a sniff program, usually at an ISP, and grab the username and password where a user is logging into. This is very easily done when a client uses telnet because telnet passes all information to the server in clear text. When we allowed users to access our network with telnet we had at least one hack attempt per day. Successful hack attempts result in damaged or destroyed sites, stolen information, and FBI investigations.

Telaserv now has one of the most secure networks thanks to the cooperation of all shell account users who are abandoning telnet and accessing their account via Secure Shell (SSH). SSH does not pass any information in clear text but rather uses secure encryption.

To get started with SSH, you must do the following:

A. Acquire client side software

There are two companies we recommend who sell client versions of SSH.

1) The most stable is SecureCRT. They have a 30 day free trial available at their web site. SecureCRT is at http://www.vandyke.com/products/SecureCRT/

2) A stable international version is available at

Datafellows http://www.datafellows.com/download-purchase/

and users looking for a free version or users outside the United States should file through the free implementations at

http://www.net.lut.ac.uk/psst/

Pay attention to the totally free internationally available ttssh:

http://www.zip.com.au/~roca/ttssh.html

Telaserv must enable SSH on your server for your account.

B. Follow the SSH client side software instructions to generate an RSA key.

[Back to top]

3. Unix Commands
The following is a list of UNIX commands that might be helpful when modifying your web site on the server. Most UNIX commands have many options and parameters which are not listed here. For more complete information on using UNIX commands, you can refer to the online manual by typing man [command] at the UNIX prompt, where "[command]" represents the command you would like more information about. Other UNIX help commands you can type are [command] -? and [command] --help.
Note: When something is specified in brackets, such as [command] or [filename], it is used to indicate that you must input your desired information here. Do NOT include brackets in your command.

Navigating in UNIX

pwd Shows the full path of the current directory
ls Lists all the files in the current directory
ls -al Lists all files and information
ls lR Lists all files and information in all subdirectories
ls -alR | more Same as ls lR, pausing when screen becomes full
ls -alR > filename.txt Same as ls lR, outputs the results to a file
ls -al /home/usr/bob/ Lists files and information for /home/usr/bob
ls *.html Lists all files ending with .html
cd [directory name] Changes to a new directory
cd .. Changes to directory above current one

Moving, Copying and Deleting Files

mv [old filename] [new filename] Move/rename a file
cp [filename] [new filename] Copies a file
rm [filename] Deletes a file
rm * Deletes all files in current directory
rm *.html Deletes all files ending in .html

Creating, Moving, Copying and Deleting Directories

mkdir [directory name] Creates a new directory
ls -d */ Lists all directories within current directory
cp -r [directory] [new directory] Copies a directory and all files/directories in it
rmdir [directory name] Removes a directory if it is empty
rm -r [directory name] Removes a directory and all files in it

Searching Files and Directories

find . -name [filename] -print Searches for a file starting with current directory
grep [text] [filename] Searches for text within a file

File and Directory Permissions

There are three levels of file permissions: read, write and execute. In addition, there are three groups to which you can assign permissions: file owner, user group and everyone. The command chmod followed by three numbers is used to change permissions. The first number is the permission for the owner, the second for the group and the third for everyone. Here are how the levels of permission translate:

0 = --- No permission
1 = --X Execute only
2 = -W- Write only
3 = -WX Write and execute
4 = R-- Read only
5 = R-X Read and execute
6 = RW- Read and write
7 = RWX Read, write and execute

It is preferred that the group always have permission of 0. This prevents other users on the server from browsing files via Telnet and FTP. Here are the most common file permissions used:

chmod 604 [filename] Minimum permissions for HTML file
chmod 705 [directory name] Minimum permissions for directories
chmod 755 [filename] Minimum permissions for scripts & programs
chmod 606 [filename] Permissions for data files used by scripts
chmod 703 [directory name] Write-only permissions for public FTP uploading
[Back to top]

4. IRC
If you have a question concerning telnet/SSH and IRC the answer is more than likely no. The use of any IRC related actions on our servers will result in account suspension, and ultimately account deletion. This rule is strictly enforced to ensure the highest level of performance of the clients websites that we host. If you are interested in a telnet account for IRC purposes, contact us and we will me happy to recommend you to a reputable provider.
[Back to top]


File Manager
1. General Info

The File Manager Option within your Control Panel can prove to be a very powerful feature. It will handle many of the functions that an FTP or Telnet client will handle, all from within your browser. Functions such as setting permissions, uploading files from your hard drive, creating and editing html files, and creating subdirectories.

When you click on the File Manager feature inside your Control Panel, you will find that the screen is divided into three frames. The left frame will show you your directories and files, and the upper right hand frame is your action frame, and the lower right hand frame is your trash folder.

Within each directory, you will see links to create a new file, create new folder, or upload files. These actions pertain specifically to the directory that you are currently in. You will also see a column of numbers to the right of each folder and file. The far right column are the current permission settings for that specific folder or file and the column to the left of the permissions is the actual size of that file or folder.

When you click on the graphic next to the text link for a folder, it will open that folder and display the files and folders within that directory. When you click on the actual text link for a folder or file, actions for that directory or file are displayed in the upper right hand corner of your screen.

Locate your public_html folder and click on the text link for it. You will see the actions for the folder appear in the upper right hand corner of your screen. To the right is a screen shot of the actions that are available when you click on the text link for any folder.

Actions are pretty self-explanatory, so we'll forgo explaining what each do.

However, if you will locate a file rather than a folder within your directory listing and click on the text link of a file, you will see that the action screen will change to the specific actions pertaining to actual files and you will notice that the actions that you can perform for files are quite different from those of a folder.

By clicking on Show File, a new window will open and show you what the file actually looks like in your browser. By clicking on Edit File, you will be taken to a window where you can actually edit the html code within the file itself and save the changes. You can also change the permissions for the file, or copy, move, delete, or rename.

Remember, DO NOT DELETE OR RENAME any files that the system creates. Also, remember that any files that you want available on the World Wide Web, must be placed within your public_html folder.
[Back to top]


G. CGI
1. What is CGI?

CGI stands for "Common Gateway Interface," a name for the computer programs running on the web server that can be invoked from a www page at the browser.

The "BIN" part alludes to the binary executables that result from compiled or assembled programs. It is a bit misleading because cgi's can also be Unix shell scripts or interpreted languages like Perl.

CGI scripts need to be saved in ASCII format and uploaded to your server's cgi-bin in ASCII or text format. This is very important to remember, because they will not work or result in errors if uploaded in binary.
[Back to top]

2. Where do I put CGI scripts?
Put your cgi scripts in the public_html subdirectory named "cgi-bin". If you have a need to put them elsewhere... you better email us because there are some security issues which may prevent you from doing so. We'll try to help though.
[Back to top]

3. Paths to Date, Mail, Perl etc.
Here are your paths to the common server resources that CGI scripts often require:
Date: /bin/date

Sendmail: /usr/sbin/sendmail

Perl5: /usr/bin/perl

Serverpath: /home/username/domain-www/cgi-bin

Root path: /home/username/

(puts you in your the root of your account)

Domain directory: /home/username/public_html

(puts you in your public_html directory)

Cgi-bin script: /home/username/public_html/cgi-bin/filename

(puts you in your cgi-bin with the script. The 'filename' is commonly .pl or .cgi)

NOTE: Do not include domain extension anywhere you list your domain name
[Back to top]

4. Setting Permissions Using Your File Manager
Log into your Control Panel and then click on File Manager. You will now see a list of directories within the root of your account. Since all of your html files and subdirectories are uploaded and created within your public_html directory, you need to click on the file folder next to the public-html directory name.
The directory will open and in the upper right hand corner, there will be a list of actions that you can perform for that directory. Next click on the file icon located next to the text name of the file that you want to change permissions for. In the upper right hand corner you will see a list of actions that you can perform with this file.

Simply click on Change Permissions, select the appropriate permissions and save.
[Back to top]

5. Setting Permissions Using WS_FTP for Windows
WS_FTP accomplishes the same task as above. Just highlight the file you want to check, and right-click on it. A menu will pop up, then select CHMOD.
Click on the appropriate settings as needed.

(Refer to the Permission Definitions below for an explanation of settings.)


Permission Definitions
Owner = the files users (you)
Group = the files group

Others = all others

r = read access

x = execute access

w = write access

Numerical Definitions:

r = 4

x = 2

w = 1

'chmod' is a word used for changing Permissions from within Telnet or your FTP client. Some scripts will tell you to chmod 775 (for example). When using the numeric system, the code for permissions is as follows:

4 + 2 + 1 (rwx) = 7

The first number applies to Owner, the second number applies to 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;

rwx rwx -rx.

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.

Remember: the first 3 letters always apply to Owner, the second 3 apply to Group, and the third 3 apply to Others.
[Back to top]

6. Common CGI Problems

Below are solutions to some of the more common CGI script problems.

When I activate my CGI program, I get back a page that says ?nternal server error. The server encountered an internal error or mis-configuration and was unable to complete your request.?/b>

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.

I am being told "File Not Found," or "No Such File or Directory."

Upload your Perl or CGI scripts in ASCII mode, not binary mode.

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."

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.

I am getting the message "POST not implemented."

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 is not recognizing the cgi-bin script you are calling as a program. It thinks it is a regular text file.
[Back to top]


H. Microsoft Front Page
1. MICROSOFT FRONTPAGE 98

Publishing a Web
After you have built your html documents and are ready to upload them to your site:
1. Open the web you've created on your PC using FP Explorer.

2. Choose File > Publish

3. If your "Destination Web Server" doesn't appear in the Publish window (it won't the first time you publish to our server) CHOOSE "More Webs" and type the location of the web to publish to. Hit return.

IMPORTANT: Use www.yourdomain.com as the Destination Web Server to publish to your server. Leave the "Destination Web Name" BLANK.

4. You will be asked for your USERNAME and PASSWORD. This is your domain's USERNAME and your FrontPage PASSWORD (which may be different than your regular telnet/ftp/POP password). If you're not sure what it is or if you aren't allowed past this point, you'll need to contact us for a new FP password.

5. You can watch the progression of the upload by looking at the bottom left corner of FP Explorer.


Opening an Existing Web
1.Open FP Explorer and choose File > Open Front Page Web.
2.You can now choose to open a previously created web on your PC or your web on your server.

3. Highlight the appropriate web or type in the web address

4. (www.yourdomain.com) and click OK.

5. Enter your USERNAME and FP PASSWORD if required.

6. Make modifications and recalculate links if needed. (See FP help docs for info on recalculating links)


Troubleshooting Common Problems with FP98
Getting error - "Root Web Busy"
FTP or telnet to your site and remove the "service.lck" file in /public_html/_vti_pvt. This usually happens when an FP session is interrupted before completion.

Server timing out when publishing large sites

This difficulty arises when the uploading link times out in the process of copying the web to our server. The only suggestion Microsoft has offered so far is to break the main web into a group of sub webs on your PC, then upload these individually. If this problem persists for you, please contact support.

Getting Error - "Front Page Extensions not Installed"

We often see this error being reported, even when the extensions have been installed. If you get this error, please contact support and we'll make sure the extensions are installed and repair them if necessary. NOTE: The extensions are easily corrupted. Please use only FP Explorer to update your web site on the server, not FTP.

I published my web site but it's not there!

This will happen when the "Destination Web Name" is filled in when publishing to your server. This box should be left blank. If you put any other name in this box it will create a subdirectory of your root web and copy all of your files into it. Your site will exist under a subdirectory instead of at the top level /public_html where it should be.

My counter, bbs, guestbook, etc isn't working.

These problems are generally due to incorrect permissions on either the directory, file(s) or cgi script(s) that are associated with them. Please don't change the permissions of your files or directories unless you have a specific reason for doing so and you know what effect it will have on your site.

My forms won't work through the Secure Server.

The call to a cgi script using the Secure Server must not be within a webbot. Use a normal cgi call in your html script for Secure Server calls.

My search bot doesn't return any results.

The /public_html directory must be world readable AND you need to re-calculate links BEFORE publishing (or after editing directly on the server). If it still doesn't work: FTP to the server and go to the /public_html/_vti_txt/default.wti directory. Delete any files that begin with "ALL.". Don't delete any other files. Then using Windows Explorer, do the same thing on your PC.- Recalculate links, test locally with your browser and publish.

FP starts the Web Publishing Wizard when I try to publish.

Cancel the operation and email support to have the FP extensions installed/repaired.

Why is my page renamed on the server when I publish?

The "Default Document" of your web is automatically renamed by the server to what is required by the configuration of the server. For example, if you've named the main page "index.html", it may be renamed "default.html". Just check the links to your main page to make sure they refer to it the same way.
[Back to top]

2. MICROSOFT FRONTPAGE 2000
This tutorial will guide you step-by-step through configuring Microsoft FrontPage to exchange files between your computer and your web site.
In order to follow along with us, you'll need to have Microsoft FrontPage installed, and you'll need to be connected to the internet via your Internet Service Provider

Create a Simple Page

Before you can publish an html file to your web site with FrontPage, you must either have a page already created, or create a page. To create a page with FrontPage, follow these simple steps

1. With FrontPage open, choose File --> New.

2. Type in "This is a simple test"

3. From the menu bar, choose File --> Save As.

4. Name the html file.

(If this file is to be your homepage, be sure to name it index.html) Once you have the file saved to your hard drive, you are ready to publish the file.

?

Publish Your Web Page.
1. From the menu bar, choose File --> Publish Web .

2. Click on the Options button

You will see a dialog box.

3. In the text box below Specify the location to publish your site to: enter the full URL for your site.

4. If this is the first time you are publishing your site, select Publish all pages...

5. Select Include subwebs

?

6. Click the Publish button.
7. Enter your username and password.

If you have entered all the details correctly, FrontPage 2000 will then publish your site.

You will see a dialog box with Click here to view your published web site, when it has finished: Then click the Done button.

http://builder.com/Authoring/FrontPage98/
[Back to top]


I. Form Mail

1. Setup Information
FormMail-clone is clone of Matt Wright's formmail.pl under a less restrictive license. It should behave almost exactly as formmail.pl, but it is completely written from scratch so there might be a few minor visual differences.

The form action line should be,
<form action = "http://yourdomain.com/cgi-sys/FormMail.cgi" method = "post">

FormMail.cgi will do all the programming work for you. You alter the behavior of FormMail by using hidden fields in your form.

There is only one form field that you must have in your form for FormMail to work correctly. This is the recipient field.

Field: recipient
Description: This form field allows you to specify where you wish your form results to be mailed to. Most likely you will want to configure this option as a hidden form field with a value equal to that of your e-mail address.

Syntax:

<input type=hidden name="recipient" value="email@yourdomain.com">

--------------------------------------------------------------------------------

Optional Form Fields

Field: subject

Description: The subject field will allow you to specify the subject that you wish to appear in the e-mail that is sent to you after this form has been filled out and submitted. If you do not have this option turned on, then the script will default to a message subject: WWW Form Submission

Syntax:

If you wish to choose what the subject is;

<input type=hidden name="subject" value="Your Subject">

To allow the user to choose a subject;

<input type=text name="subject">

--------------------------------------------------------------------------------

Field: email

Description: This form field will allow the user to specify their return e-mail address. If you want to be able to return e-mail to your user, we strongly suggest that you include this form field and allow them to fill it in. This will be put into the From: field of the message you receive. NOTE: in your code use all-lowercase for the word "email"

Syntax:

<input type=text name="email">

--------------------------------------------------------------------------------

Field: realname

Description: The realname form field will allow the user to input their real name. This field is useful for identification purposes and will also be put into the From: line of your message header.

Syntax:

<input type=text name="realname">

--------------------------------------------------------------------------------

Field: sort

Description: This field allows you to choose the order in which you wish for your variables to appear in the e-mail that FormMail generates. You can choose to have the field sorted alphabetically or specify a set order in which you want the fields to appear in your mail message. By leaving this field out, the order will simply default to the order in which the browser sends the information to the script (which isn't always the exact same order they appeared in the form). When sorting by a set order of fields, you should include the phrase "order:" as the first part of your value for the sort field, and then follow that with the field names you want to be listed in the e-mail message, separated by commas.

Syntax:

To sort alphabetically:

<input type=hidden name="sort" value="alphabetic">

To sort by a set field order:

<input type=hidden name="sort" value="order:name1,name2,etc...">

--------------------------------------------------------------------------------

Field: redirect

Description: If you wish to redirect the user to a different URL, rather than having them see the default response to the fill-out form, you can use this hidden variable to send them to a pre-made HTML page.

Syntax:

To choose the URL the user will end up at;

<input type=hidden name="redirect" value="http://domain.com/file.html">

To allow the user to specify a URL he/she wishes to travel to once the form is filled out;

<input type=text name="redirect">

--------------------------------------------------------------------------------

Field: required

Description: You can now require for certain fields in your form to be filled in before the user can successfully submit the form. Simply place all field names that you want to be mandatory into this field. If the required fields are not filled in, the user will be notified of what they need to fill in, and a link back to the form they just submitted will be provided.

Syntax:

If you want to require that the user fill in the email and phone fields in your form so that you can reach them once you have received the mail, use a syntax like:

<input type=hidden name="required" value="email,phone">

--------------------------------------------------------------------------------

Field: env_report

Description: Allows you to have Environment variables included in the e-mail message you receive after a user has filled out your form. This is useful if you wish to know what browser they were using, what domain they were coming from or any other attributes associated with environment variables. The following is a short list of valid environment variables that might be useful:

REMOTE_HOST - Sends the hostname making a request.

REMOTE_ADDR - Sends the IP address of the remote host making the request.

HTTP_USER_AGENT - The browser the client is using to send the request.

Syntax:

If you wanted to find the remote host and browser sending the request, you would put the following into your form;

<input type= hidden name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">

--------------------------------------------------------------------------------

Field: title

Description: This form field allows you to specify the title and header that will appear on the resulting page if you do not specify a redirect URL.

Syntax:

If you wanted a title of 'Feedback Form Results':

<input type=hidden name="title" value="Feedback Form Results">

--------------------------------------------------------------------------------

Field: return_link_url

Description: This field allows you to specify a URL that will appear as a return_link_title on the following report page. This field will not be used if you have the redirect field set, although it is useful if you allow the user to receive the report on the following page, but want to offer them a way to get back to your main page.

Syntax:

<input type=hidden name="return_link_url" value="http://domain.com/file.html">

--------------------------------------------------------------------------------

Field: return_link_title

Description: This is the title that will be used to link the user back to the page you specify with return_link_url. The two fields will be shown on the resulting form page as:

<ul> <li><a href="return_link_url">return_link_title</a> </ul>

Syntax:

<input type=hidden name="return_link_title" value="Back to Main Page">

--------------------------------------------------------------------------------

Field: background

Description: This form field allows you to specify a background image that will appear if you do not have the redirect field set. This image will appear as the background to the form results page.

Syntax:

<input type=hidden name="background" value="http://domain.com/image.gif">

--------------------------------------------------------------------------------

Field: bgcolor

Description: This form field allows you to specify a bgcolor for the form results page in much the way you specify a background image. This field should not be set if the redirect field is.

Syntax:

For a background color of White;

<input type=hidden name="bgcolor" value="#FFFFFF">

--------------------------------------------------------------------------------

Field: text_color

Description: This field works in the same way as bgcolor, except that it will change the color of your text.

Syntax:

For a text color of Black;

<input type=hidden name="text_color" value="#000000">

--------------------------------------------------------------------------------

Field: link_color

Description: Changes the color of links on the resulting page. Works in the same way as text_color. Should not be defined if redirect is.

Syntax:

For a link color of Red;

<input type=hidden name="link_color" value="#000080">

--------------------------------------------------------------------------------

Field: vlink_color

Description: Changes the color of visited links on the resulting page. It works exactly the same as link_color. Should not be set if redirect is.

Syntax:

For a visited link color of Blue;

<input type=hidden name="vlink_color" value="#0000FF">

--------------------------------------------------------------------------------

Field: alink_color

Description: Changes the color of active links on the resulting page. Works exactly the same as link_color. Should not be set if redirect is.

Syntax:

For a visited link color of Blue;

<input type=hidden name="alink_color" value="#0000FF">

[Back to top]

J. Secure Server
1. SSL - Secure Server

SSL and Web Server Certificates
SSL stands for Secure Sockets Layer. It is a form of encryption which allows information to pass between your web site and a visitors browser securely. This is most commonly used when accepting payments over the internet but is also applied wherever sensitive information is being submitted or transferred.
You can read about SSL at http://www.ssl.com/ or http://www.openssl.org/ .

Note: When using a secure certificate, make sure you have the 's' after 'http', example: https://

If you want your own certificate (https://www.yourname.com/), you must first purchase a secure certificate from a recognised Certificate Authority (CA). Established CA's are VeriSign, Thawte, Tucows and EquifaxSecure

[Back to top]

 
 
 
 
   
  版權所有 不得轉載 .2002-2014 Copyright © SWIN SOLUTIONS (H.K.).
主頁 .關於我們. 聯絡我們 . 繳費方法 . 技術支援. 常見問題 . 私隱政策 . 服務條款 . 數據中心 . 慈善機構贊助優惠 . 分銷計劃