PDA

View Full Version : Addressing CGI-Bin Directory


Thomas B. Keaney, Sr.
09-05-2001, 03:07 PM
%) How do I enter the address for the CGI-Bin directory when it is one level below my root directory?

I'm using Dreamweaver and don't want too mess up the file locations that it automatically tracks, but at the same time, I want to be able to make sure everything is working right before I release it on the world!

sheila
09-05-2001, 04:54 PM
Do you mean, the public URL that visitors to your site need to use in order to access files/scripts in your cgi-bin?

If that's what you mean, you would use an URL like this:

http://yourdomain.com/cgi-bin/

But, you'd undoubtedly have a script there, as well, in which case it would be:
http://yourdomain.com/cgi-bin/script.cgi

(Of course, instead of yourdomain.com you could also use www.yourdomain.com.)