I installed active Perl 5.6 I added some sort of registry line to my local machine I am confused about #!usr\bin\Perl what is the exact address i should be using? Perl is insstalled on my C:Perl. and where does this usr come from, and they are always saying that the address is relative what does that mean?, and what does it mean when i hit submit on a form html page that calls a cgi/pl file in my cgi-bin and a dos box pops up real quick but nothing happens no response html that I am expecting and no email sent. why do so many people drink coors lite, if two trains are on the same track both traveling towards each other, both at 210mph seperated by 6000 miles how long till they collide? thank you

I've never ran Apache on windows, olny on linux. I was talking about PWS since I was describing my setup. Since the pro is here demise I think I won't be needed on this subject anymore, dws is a wiz with windows.

perlkid

------------------ My Cat Attacks Me. We Call her Diablo Around here, I'm afraid to close my eyes at night.

I have a win 98 machine with PWS and active perl5.6 with dcom module installed I have changed my registry but I am not sure exactly what to %s or %s %s.pl what is the exact reg change for .cgi extension files i need?? and on top of that how do I call a .pl file from an html file from the machine it is on test the script from my home page that the machine running this home page is on understand??? whatam I missing?? I will pay someone to come over to my house and fix it for me ... no lie i need a boost from the booster chair Thanks for all the kindness and hope for continued sucess for everyone....and don't do drugs, let them do you

You probably installed everything in the wrong order. First, PWS, Then DCOM, Then Perl, then Regestry keys.

That's the order that worked for all my computers. I installed the DCOM after everthing and it wouldn't work. I had to unistall perl, then install DCOM, then re-install perl to get it to recognize the DCOM mod.

reel qut, so you know how to spin a top .... can you whistle...and pat your head.....and rubb your belly.... theres 1 thing "ohhh from cherry hill does" and that is .....motivate me more. I already saw your posts Perlkid . . . where you from . . . Berlin? look I came here cause the books I bought were based on an old language I was very impressed by this forums functionality and was hoping to share some wealth (knowledge that is) but if programmmers are not welcome than just say so. As if not apparent I am hurt by your insensitivity. I have a learning disorder you xxxx! Where I am from reflacts nothing but your ugly personality. At least through the keyboard I don't sound stupid!!! good day

Demise, It seems as if we are all very close in demographics to each other? I live in Philly.

You are more than welcome to post/help as much as you like to this forum, and yes programmers are welcome.

But, please select your words carefully here as it just adds to the negitivity that others may display. I would like to think that no one would Purposely offend anyone here. This is a great site, dedicated to helping everyone and I wouldn't want to see anything tarnish that.

You should have a string names .cgi whose value is "c:\perl\bin\perl.exe %s %s"

If you don't, add it, reboot the machine (we're gonna go into paranoid mode here), then try to invoke the CGI below from c:\inetpub\scripts\ (since we know that \SCRIPTS has script execute permission set).

Here's test.cgi, which you should create and put in c:\inetpub\scripts <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

print "Content-type: text/plain\r\n\r\n"; print "It worked!\n";</pre><HR></BLOCKQUOTE> And report back on what happens.

I do apolagize, I have been placed on that Cherry Hill pedistoll to many times this past month. I am just baffled sometimes how easy it is for everyone to forget, were all human. Yes I am aware that everything I will ever amount to depends on what I learn from others, I learned to snow board last year because my friend dragged me along and I loved it, same for programming, my friend dragged me to school and I loved it, Perl kid sorry I snapped so easy, your a smart kat, don't let it go to your head! NOW FOR THE CODE, I followed about forty forums all starting with what Perlkid suggested, I have registry just as DWS said, BUT I had my .pl files in my cgi-bin, should they be in the scripts folder??and should they be .cgi since I changed the registry? that may be what I am missing. The books I bought told me all about Perl and how it magically appeared just like the Berkley Operating system for Windows and Linux, but told me nothing on the basics of windows implementing. I am gonna give it a change and another sacraficial whohaaa witha tap tap tap, spin around 4 times and maybe it'll run....and yes that is three taps

I am very sorry for my hostility and do very much appreciate the support My disability is I am a little slow, I learn by example (I am a form follower) I do plenty of reading on my own but it sometimes takes a little longer. Keep up the great work and...GET SOME SLEEP to boost . . I Have refered your site to three frinds already . . no they are not like me. . . they're nicer... take care If I have any problems i'll talk to a wall

I am such a dumb ass MY TRUE APOLAGIZES to all who had to listen to me. Anyway, again I was at friends house last night, Perl enthusiast and He couldn't help me either. No more rantings I got the registry down and understand its role, I am confused by some functionality I do not have a server to place my scripts on call to from a remote browser so on my html form pages I have tried http://GregM/Inetpub/wwwroot/cgi-bin/myscript.plI have also tried a relative path C:/Inetpub/wwwroot/cgi-bin/myscript.pl and ../scripts/myscript.pl I run two seperate systems which doesn't help I have Windows NT workstation at work on a VPN with PWS and 98 PWS at home both have active perl installed with the dcom on my 98 at work when the dowload box poped up I was frustrated and in the heat of the moment I checked the box that said always show this option box...so now the dos box just flashes for a sec when i hit submit on my html form let me take a breath now I have run perl scripts in my code and have no confusion there but this calling a cgi is as all the previous post imply rendering impatent if there is any other information needed I will kindly ablige PS perlkid I had oroginally thought you found my location from dns search breakdown by region, I did not realize after being up for two days it was just in my profile my sincerest apolagize for my blatent lack of respect I bow in forgivness Thank you.

I didn't know I was supposed to be offended, I didn't even follow you all the way there. What other posts did you see of mine ???? Don't worry about my feelings, I've been de-sensitized from certain individuals, and only a French Women can save me now, he he

I'm actually from San Diego, Ca, moved to Las Vegas about 1-2 years ago, but what does it matter.

About your problem, You reg key must be the same as the file exstention your trying to run the perl with. Use both keys, .pl and .cgi if you preffer.

When you say that it worked from DOS, what exactly do you mean? Where you able to execute test.cgi from a command line? If so, that merely indicates that there's a file association that maps .cgi to the perl executable, and isn't sufficient for getting the .cgi to run through PWS.

I'm really running out of ideas here, All I can say is that I recommend you start all over with all the new nonage you have about this system, and install the programs in the order that I gave. It worked for me and I never could get it to work until I did that. When you want to run your cgi through the browser, You should not use the path http://GregM/Inetpub/wwwroot/cgi-bin/myscript.pl

I'm sure you have already tried that though, the direct path to the file, C:\.....myfile.pl will run it in dos, and that's the easy part, you want to have the luxury of running an entire web site on your PWS.

perlkid

P.S. To dws and demise too. Anyone else reading this thread. Will you reply to my post in the feedback forum about adding another forum if your in support of it.

it was in msdos that it returned "It worked!" I have a testinput.pl file in my scripts folder and a test.htm file in my wwwroot folder, I have <FORM action="../scripts/friends.pl" action="post"> and on submit the dos box pops up runs all the script in the testinput.pl but returns nothing

what is sufficient for getting the cgi extensions t run through PWS what else is needed for completion I have all you have said the script runs when called from an html, or cfm, or asp, but just pops up a quick dos box with no results and yes it is PWS for now, eventually NT 4.0 IIS anyway its been like a week hope your still around Thanks