• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

auto loop back IP address

I read in a book that setting a link to   would allow one to use a perl script locally on a win 95 machine provided that a server soft like Windows personal server and perl were both set up.  I tried this but the script was run without looping back.

The script was:

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

print "Worked";

and the call was:  <A HREF="">test</A>

where binvvv was the shared directory set up by the server soft.  As I said the script ran( in a ms-dos window) but the info never looped back. Any suggestions?
  • 4
1 Solution
guadalupeAuthor Commented:
PS the script runs fine if called in dos but with "perl test.pl"
might be important?

guadalupeAuthor Commented:
pps  sorry but I also realized another detail:

MS Explorer asks me if I want to run the file or save it.  like it doesn´t know what to do with it.  Thats when it runs in the msdos windoe without looping back.  So this is important and the ps added above not so much as the script does get run just not looped back
make sure that the directory of the perlscript is "executable" (make a virtual directory, and make it executable)

Edit the registry (using regedit)
go to

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script Map]

and add

".pl"="C:\perl5\bin\perl.exe %s"

guadalupeAuthor Commented:
Thanks for the suggestion but now the pl script is just oppened as a text document in the browser window, before it was being run (though only in a ms dos window which closed upon completion) and now not even that??
guadalupeAuthor Commented:
Hey just got it to work.  I set the file association in the file type window in Folder Options.  The same association as you stated for the registry.  I don't know why that did it but it did.  Thanks for your help.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now