|
I don't know much about FrontPage specifically, so I can't really help you there, but you'll need to check with your hosting company to confirm you have CGI available to you before you post your CGI file anywhere.
Your hosting company should also be able to provide you with specific information regarding the address you need to use so the program will run properly (e.g., "usr/bin/cgi" or whatever). This is usually the very first line in your CGI program file.
If you can run CGI programs, then you usually need to make sure you upload the program to a special directory/folder. If the name makes a difference to your hosting company, they will probably have already created a folder called "cgi" or "bin" or "cgi-bin". Otherwise, you'll have to create the folder yourself.
When you get ready to upload the file, make sure you have your FTP program set to ASCII. Most files (like HTML) are upload in Binary format, but CGI programs must be uploaded in ASCII in order to run.
As for your HTML and javascript files, they can go anywhere, as long as you make sure they refer to the proper folder location if they are being used to access and run the cGI program.
HTH!
Syren
|