Dennis and Randy and others on the list that gave advice, Thank you so much for both your help. This has sorted out the problem. I copied the *.pl files to the c:\apache\perl directory and before I made the change to the httpd.conf file I tried it tham again and it's perfect. If either or both of you can recommend a good charity I will make a small donation for your time. Again thanks
Matt -----Original Message----- From: Dennis Stout [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 19:28 To: Matt Corbett Subject: Re: Please help newbie with Module problem. > I don't have a PerlHandler set in my httpd.conf. > > How should I set this. Edit whatever form of an httpd.conf file that Apache has under Win32 (should be hte same, location I don't know). mv the script out of the cgi-bin and into somewhere else, like C:/Apache/perl Let's say the name is RequestHandler.pm In httpd, add this line: <VirtualHost blah.yourdomain.whatever:80> <Location /> SetHandler perl-script PerlHandler RequestHandler </Location> </VirtualHost> Restart Apache, and any access to blah.yourdomain.whatever/ should get trapped in there. You may need to add the other standard apache directives to that, like ServerName blah.yourdomain.whatever and so on, but probably not. > > I think we are so close I can almost feel it. Yes, we are. The code I sent you is hte core of hte project I'm currently programming, which includes an entire dispatch table. Now if only I could get it to grab the right friggin string from a SQL server to authenticate >:| > > > -----Original Message----- > From: Dennis Stout [mailto:[EMAIL PROTECTED] > Sent: 02 July 2003 18:57 > To: Matt Corbett > Subject: Re: Please help newbie with Module problem. > > > Hrm. > > Off the top of my head, I've not a clue. > > Did you setup Apache with a > > PerlHandler /path/to/file_with_script.perl > > directive? > > S.T.O.U.T. = Synthetic Technician Optimized for Ultimate > Troublshooting > ----- Original Message ----- > From: "Matt Corbett" <[EMAIL PROTECTED]> > To: "'Dennis Stout'" <[EMAIL PROTECTED]> > Sent: Wednesday, July 02, 2003 09 49 > Subject: RE: Please help newbie with Module problem. > > > > > > > > Thanks Dennis, It's now giving me "Premature end of script > > headers:". Can you help me again. > > > > Matt > > -----Original Message----- > > From: Dennis Stout [mailto:[EMAIL PROTECTED] > > Sent: 02 July 2003 17:46 > > To: Matt Corbett; [EMAIL PROTECTED] > > Subject: Re: Please help newbie with Module problem. > > > > > > > this, however the line $r->content-type('text/html'); seems to be > > > giving my compiler some problems. You could'nt just give me a hint > > > on > > > > My mistake, shift key didn't get pressed hard enough =P > > > > $r->content_type('text/html'); > > > > Dennis > > > > >