View previous topic :: View next topic |
Author |
Message |
dichaeld -
Joined: 20 Jun 2003 Posts: 11
|
Posted: Sun Jan 18, 2004 1:57 am Post subject: URL to cgi-bin |
|
|
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 |
|
|
jtc970 -
Joined: 24 Mar 2003 Posts: 172
|
Posted: Sun Jan 18, 2004 2:06 am Post subject: |
|
|
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 |
|
|
dichaeld -
Joined: 20 Jun 2003 Posts: 11
|
Posted: Sun Jan 18, 2004 2:30 am Post subject: |
|
|
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 |
|
|
jtc970 -
Joined: 24 Mar 2003 Posts: 172
|
Posted: Sun Jan 18, 2004 2:39 am Post subject: |
|
|
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 |
|
|
dichaeld -
Joined: 20 Jun 2003 Posts: 11
|
Posted: Sun Jan 18, 2004 2:46 am Post subject: |
|
|
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 |
|
|
jtc970 -
Joined: 24 Mar 2003 Posts: 172
|
Posted: Sun Jan 18, 2004 4:14 am Post subject: |
|
|
try checking your config file for bad paths or urls |
|
Back to top |
|
|
|