View Full Version : easy problem i think...please help

10-04-2002, 05:52 AM
ive installed all my cgi scripts and their working (for a search engine) the problem is-->the only way the script will work is if an "html" folder is placed within the cgi-bin, and obviously if i try to open html pages that are in the cgi-bin...they don't work....ive got a configuration file containing variables...and i can change the "html" directory from "html" to something like "http://www.domainname/html" but when i run the script..it still doesn't work HOW CAN I CHANGE THE DIRECTORY NAME, SO THAT IT WILL WORK???

10-05-2002, 06:18 AM
You can try it in either one of 2 ways. The first will be the easiest way to try it.

Instead of a URL the script may be asking for a path - in that case something like /www/usr/login/html would do it.

If that is not the case, you could also try moving the entire script pack out of the CGI directory, most servers will allow a cgi script to run outside the CGI directory and if yours will - your html files will work there as well.

Hopefully this helps you...