Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How to transfer CGI script to cgi-bin
Old 06-22-2003, 11:01 PM How to transfer CGI script to cgi-bin
Junior Talker

Posts: 4
Trades: 0
I have created some HTML and CGI, Java scripts in Frontpage:
Do I need to copy the scripts into cgi-bin for it to work (FYI: shopping cart, Email form, Check out form)?

If I do, how do I do it?
Please be specific, I am a novice.

Thanks.
Anovice is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-28-2003, 05:03 PM
Experienced Talker

Posts: 31
Trades: 0
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
SyrenSong is offline
Reply With Quote
View Public Profile
 
Old 06-28-2003, 11:54 PM
Experienced Talker

Posts: 31
Trades: 0
BTW, make sure you CHMOD your cgi-bin directory and your file. Otherwise the program won't run. Basically, that means you have to specifically set permissions for site visitors to allow them access to reading, writing and/or executing the file.

How to do this all depends on the access you have to your server and what type of services they provide. You may be able to do it from FrontPage directly, but I don't know the program to comment on that.

Good luck!
Syren
SyrenSong is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to transfer CGI script to cgi-bin
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40044 seconds with 12 queries