Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Perlkid



splat
Deleted

Aug 2, 2000, 4:12 AM


Views: 2417
Perlkid

Thx for the script details ip.cgi. However when I use the script i keep getting the message [an error occurred while processing this directive]. My host assures me that SSI is enabled on the server. What does this mean?

Thx
Splat


perlkid
stranger

Aug 2, 2000, 4:48 AM


Views: 2417
Re: Perlkid

 
Ok, This means there is somthing wrong with the ssi.

I just check one of my own scripts and I found that in the past I used

<!--#exec cgi="/news/top-headlines.cgi" -->

I didn't put the http://

also try it with out the url and just the path to the ip.cgi file.

perlkid


splat
Deleted

Aug 2, 2000, 5:15 AM


Views: 2417
Re: Perlkid

Hi

I have now tried the script using /cgi-bin/ip.cgi and i do not get the error. However - nothing is printing on the screen. Also when i " view source" for my page the line <!--#exec cgi="/cgi-bin/ip.cgi" --> dosen't seem to be there. I have cleared my cache and reloaded the page to the server. Help ? :-(


Kanji
User / Moderator

Aug 2, 2000, 6:02 AM


Views: 2417
Re: Perlkid

No need for Perl or CGIs: just your pure SSI.

<!--#echo var="REMOTE_ADDR"-->


splat
Deleted

Aug 2, 2000, 7:31 AM


Views: 2417
Re: Perlkid

Thx. works a treat. I assume i can include that statement in html commands etc.

Change colour etc.Thanks for all your help guys.