CGI AWOL

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


Joined: 15 Dec 2002
Posts: 6
Location: cgi heaven

PostPosted: Sun Jan 12, 2003 11:39 pm    Post subject: CGI AWOL Reply with quote

I can't get my browser to locate my cgi files. I have installed Perl, I have configured the Abyss Server Configuration to your specifacations, I have moved all my files to my "D:\program files\abyss\htdocs directory" and tested it locally by using the web site IP http://127.0.0.1. but to no avail. I renamed the default index.html so that the browser would open the directory instead of an html file and tried to locate my cgi file that way but it was no where to be found. Even though I know that it was sitting pretty in my "htdocs\cgi-bin" the whole time... I'm lost
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jan 13, 2003 12:29 am    Post subject: Re: CGI AWOL Reply with quote

endparadox wrote:
I can't get my browser to locate my cgi files. I have installed Perl, I have configured the Abyss Server Configuration to your specifacations, I have moved all my files to my "D:\program files\abyss\htdocs directory" and tested it locally by using the web site IP http://127.0.0.1. but to no avail. I renamed the default index.html so that the browser would open the directory instead of an html file and tried to locate my cgi file that way but it was no where to be found. Even though I know that it was sitting pretty in my "htdocs\cgi-bin" the whole time... I'm lost

In the default configuration, cgi-bin is an alias for D:\program files\abyss\cgi-bin . So put your files in that directory or delete the cgi-bin alias in Aliases in the console to be able to use your own cgi-bin at htdocs\cgi-bin .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
endparadox
-


Joined: 15 Dec 2002
Posts: 6
Location: cgi heaven

PostPosted: Mon Jan 13, 2003 1:01 am    Post subject: CGI Found Reply with quote

Thanks. To think that it was something so simple... duh. Okay, but now I get an HTTP 500 ERROR... That's cool though, at least I'm past one hump. Thanks again.
Back to top View user's profile Send private message
endparadox
-


Joined: 15 Dec 2002
Posts: 6
Location: cgi heaven

PostPosted: Mon Jan 13, 2003 2:10 am    Post subject: Another hump down... Reply with quote

Okay, I found everything that I needed, everything is in place. No HTTP 500 ERRORs, but now the script won't write an output file. I'm practicing CGI with a guestbook I found at "http://www.dreamcatchersweb.com/scripts/". The error log tells me that for some reason it "Can't return outside a subroutine at guestbooksaver.cgi line 75." If I have to edit this line, the Read Me txt said nothing about it... Lost again. Any help in this matter would be greatly appreciated.
Back to top View user's profile Send private message
endparadox
-


Joined: 15 Dec 2002
Posts: 6
Location: cgi heaven

PostPosted: Mon Jan 13, 2003 2:49 am    Post subject: Over the humps and far away... Reply with quote

Disregard that last message, I went through the script with a fine toothed comb and found my mistake: one too many /. Thanks anyway and thanks again :D
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jan 13, 2003 11:52 pm    Post subject: Re: Over the humps and far away... Reply with quote

endparadox wrote:
Thanks anyway and thanks again :D

You're welcome.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
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