View previous topic :: View next topic |
Author |
Message |
webzn -
Joined: 01 Apr 2003 Posts: 27 Location: Canada
|
Posted: Fri Apr 04, 2003 11:34 pm Post subject: Perl Script |
|
|
I have a script that works fine on another server but when I try to use it here, I get this messgae from Abyss:
Abyss Web Sever
Error 200
What does it mean. Oh, ps, It calls the script through ssi. and I use the latest version of abyss |
|
Back to top |
|
|
Vader_ -
Joined: 02 Mar 2003 Posts: 26
|
Posted: Sat Apr 05, 2003 12:11 am Post subject: Re: Perl Script |
|
|
webzn wrote: | I have a script that works fine on another server but when I try to use it here, I get this messgae from Abyss:
Abyss Web Sever
Error 200
What does it mean. Oh, ps, It calls the script through ssi. and I use the latest version of abyss |
I am not 100% sure but since the 200 error means everything is OK, i guess the problem is when the browser calls the script.
Make sure you have used SSI correctly and that the browser (and server) sends the HTTP referer correctly...
I could say more if i had a link to the script running under both servers... :wink: _________________ Simple...fast...free..... |
|
Back to top |
|
|
webzn -
Joined: 01 Apr 2003 Posts: 27 Location: Canada
|
Posted: Sat Apr 05, 2003 12:44 am Post subject: |
|
|
I tried another counter now with the ssi includes and it displayes the same results |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Apr 05, 2003 1:01 am Post subject: Re: Perl Script |
|
|
webzn wrote: | I have a script that works fine on another server but when I try to use it here, I get this messgae from Abyss:
Abyss Web Sever
Error 200
What does it mean. Oh, ps, It calls the script through ssi. and I use the latest version of abyss |
Please copy/paste the SSI page code here and give us a link on the counter script so that we can tell you what's wrong. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
webzn -
Joined: 01 Apr 2003 Posts: 27 Location: Canada
|
|
Back to top |
|
|
Vader_ -
Joined: 02 Mar 2003 Posts: 26
|
Posted: Mon Apr 07, 2003 8:07 am Post subject: RE: Perl Script... |
|
|
Although all seems fine to me, try using this directive for SSI:
<!--#exec cgi="counter.cgi"-->
Also, make sure the scripts dir resides in a lower level than the page. That's because in some servers (including Abyss) a directive like this one:
<!--#exec cgi="../cgi/somescript.cgi"-->
tends to produce an error message. _________________ Simple...fast...free..... |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Apr 07, 2003 11:57 am Post subject: |
|
|
As any script, that one needs to be edited and some of its parameters must be changed. We tested it and we noticed that you should change the value of the variables $data_dir and $my_ip in all .cgi files. Without doing that, you get the error. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|