Unable to set absolute cgi path

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
brandt
-


Joined: 16 Feb 2004
Posts: 3
Location: the Netherlands

PostPosted: Wed Feb 18, 2004 7:19 pm    Post subject: Unable to set absolute cgi path Reply with quote

I appear to be unable to set the CGI Path to the following:
"c:\My Documents\Web Site\cgi-bin"
As soon as I try to add it, the form returns the following:
"Bad virtual path (It must begin with a slash /)"
Ofcourse I've tried this with and without the quotes.
As a result, my CGI executables don't work.
Others appear to be able to do this though...

Please help,
Roland


Last edited by brandt on Wed Feb 18, 2004 10:28 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Feb 18, 2004 8:50 pm    Post subject: Reply with quote

whats the script , I will test it out ! 8)
Back to top View user's profile Send private message Visit poster's website
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Wed Feb 18, 2004 9:44 pm    Post subject: Reply with quote

Hi Brandt--

Do you mean in the abyss console/advanced/cgi parameters?

If so, you just add "/cgi-bin" (no quotes).

Regards,
Axis
Back to top View user's profile Send private message
brandt
-


Joined: 16 Feb 2004
Posts: 3
Location: the Netherlands

PostPosted: Wed Feb 18, 2004 10:13 pm    Post subject: Reply with quote

It is indeed in the console/advanced/cgi parameters section.

Normally I wouldn't have to add "/cgi-bin" since it's already there by default. I have no problems with removing this and adding it again. The issue is that this is a relative path (if I understand the instructions correctly) and not an absulute path. In addition to this, it assumes that this relative path is a subdirectory of the folder the program was installed in.

I however have installet the server program in "c:\program files\Abyss Web Server" and have installed the html files in "c:\My Documents\Web Site\". The cgi-bin folder where the cgi executables are installed is a subdirectory of this folder e.g. "c:\My Documents\Web Site\cgi-bin".

As far as I've understood: I need to add the reference to this path "c:\My Documents\Web Site\cgi-bin" in the console/advanced/cgi parameters/cgi paths "section as an absolute path. This is wat I can't accomplish.
Back to top View user's profile Send private message Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Wed Feb 18, 2004 10:58 pm    Post subject: Reply with quote

Create an alias to the cgi-bin folder so the /cgi-bin/ alias points to the absolute path and the cgi-bin path uses the alias.
Back to top View user's profile Send private message
brandt
-


Joined: 16 Feb 2004
Posts: 3
Location: the Netherlands

PostPosted: Thu Feb 19, 2004 7:15 pm    Post subject: Reply with quote

Thanks, setting the alias worked.
Should have thought about that myself...

Roland :D
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group