Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


auto loop back IP address

Posted on 1998-10-20
Medium Priority
Last Modified: 2006-11-17
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?
Question by:guadalupe
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4

Author Comment

ID: 1205549
PS the script runs fine if called in dos but with "perl test.pl"
might be important?


Author Comment

ID: 1205550
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
LVL 28

Accepted Solution

sybe earned 280 total points
ID: 1205551
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"


Author Comment

ID: 1205552
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??

Author Comment

ID: 1205553
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.


Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question