Jump to content
The Uniform Server Community

Pearl Location?


roseynose
 Share

Recommended Posts

I was wondering where the pearl is normally located on the Uniform Server. For example, I have simple redirection script (indexredir.cgi) that says the following:

 

#!/usr/bin/pearl

 

 

print "HTTP/1.0 302 Temporary Redirection\r\n" if $ENV{PERLXS} eq "PerlIS";

 

print "Content-type: text/html\n";

print ("Location: http://www.musictopicon.com/5.0/cgi-bin/co...n\n\n");

 

 

Unfortunately, it just shows that on the browser screen as well. I am assumming that it is the HTML script, but I may not have installed the cgi and pearl correctly through activepearl.

Link to comment
Share on other sites

Its #!/usr/bin/perl

 

Its also Perl not Pearl, :lol: :D

 

Sorry for the delay, haven't been getting the new topic/reply email notifications for some reason.

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...