Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-04-2002, 04:52 AM   PM User | #1
ajei
New to the CF scene

 
Join Date: Sep 2002
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
ajei is an unknown quantity at this point
easy problem i think...please help

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???
thanks.
ajei is offline   Reply With Quote
Old 10-05-2002, 05:18 AM   PM User | #2
CandlelightWeb
New to the CF scene

 
Join Date: Oct 2002
Location: Maryland
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
CandlelightWeb is an unknown quantity at this point
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...
CandlelightWeb is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 07:54 AM.


Advertisement
Log in to turn off these ads.