URL to cgi-bin

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


Joined: 20 Jun 2003
Posts: 11

PostPosted: Sun Jan 18, 2004 1:57 am    Post subject: URL to cgi-bin Reply with quote

Hi i am new to cgi and i am installing an image folio however it requires me to type in the url for the cgi-bin and i dont know how to do that since the cgi-bin is outside of the htdocs i am pretty sure this is a simple question but it would really help if i could get da answer

Also when it asks for full path to the location of somtin do i type c:/etc.. or the path relating to folder which the file i am editing is in. The answer to this question would also be of much help too.

Thanks Alot
Back to top View user's profile Send private message Visit poster's website
jtc970
-


Joined: 24 Mar 2003
Posts: 172

PostPosted: Sun Jan 18, 2004 2:06 am    Post subject: Reply with quote

check your console
> Server Configuration > Advanced > Aliases
you should have the path for cgi-bin in the aliases section..
virtual path: /cgi-bin
real path: the path to your cgi-bin

and when it asks for the full path you can do it like you said c:/etc...
Back to top View user's profile Send private message
dichaeld
-


Joined: 20 Jun 2003
Posts: 11

PostPosted: Sun Jan 18, 2004 2:30 am    Post subject: Reply with quote

Wow thanks for the help. but even though i changed the location to cgi-bin for some reason i cant view imageFolio.cgi instead i get a 500 error
Back to top View user's profile Send private message Visit poster's website
jtc970
-


Joined: 24 Mar 2003
Posts: 172

PostPosted: Sun Jan 18, 2004 2:39 am    Post subject: Reply with quote

well atleast u know your getting to the cgi now

try adding this
use CGI::Carp qw(fatalsToBrowser);
to the second line of the cgi file it may help with finding the 500 error
Back to top View user's profile Send private message
dichaeld
-


Joined: 20 Jun 2003
Posts: 11

PostPosted: Sun Jan 18, 2004 2:46 am    Post subject: Reply with quote

cool!! it seems like you know alot :D but n e way dis wut it said

Software error:
Too many arguments for chdir at imageFolio.cgi line 273, near ""$image_directory/$FORM{'direct'}")"
Too many arguments for chdir at imageFolio.cgi line 578, near ""$image_directory/$FORM{'link'}")"
Execution of imageFolio.cgi aborted due to compilation errors.
Back to top View user's profile Send private message Visit poster's website
jtc970
-


Joined: 24 Mar 2003
Posts: 172

PostPosted: Sun Jan 18, 2004 4:14 am    Post subject: Reply with quote

try checking your config file for bad paths or urls
Back to top View user's profile Send private message
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