Perl File
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Perl File




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Perl File  
Kory


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

Hello!  I have a website running on IIS 6.0.  The website points to some
perl files for submissions.  The PERL files are located in cgi-bin
directory.  Here is the problem.  When I click on request button, the
browser tells me file not found.  I enable directory browsing and when I
open the cgi-bin folder I can see the file.  When I click on the file, the
error is also the same, "File not found".  I installed ActivePerl 5.8 and
still no help.  The file is just not being excuted.  What am I doing wrong?

Thank You







[ Post a follow-up to this message ]



    RE: PERL File  
APadmin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

Kory,

You need to ensure you enabled the "Web Service Extension" for the perl.exe
or perlis.dll (cgi or isapi).  You can find this in iis.  There may already
been an extension set but not enabled.  Simply enable it.  Or if there isn't
one by chance, you can simply create one and point it to the PERL exe or dll
.

"Kory" wrote:

> Hello!  I have a website running on IIS 6.0.  The website points to some
> PERL files for submissions.  The PERL files are located in cgi-bin
> directory.  Here is the problem.  When I click on request button, the
> browser tells me file not found.  I enable directory browsing and when I
> open the cgi-bin folder I can see the file.  When I click on the file, the
> error is also the same, "File not found".  I installed ActivePerl 5.8 and
> still no help.  The file is just not being excuted.  What am I doing wrong
?
>
> Thank You
>
>
>





[ Post a follow-up to this message ]



    Re: PERL File  
Kory


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

Hi!  Thanks for the advice, but can you be more specific?  I could not find
the option to enable it.
Thank You!

"APadmin" <APadmin@discussions.microsoft.com> wrote in message
news:5B07C153-17AE-40FC-90A0-C1F7CB1F5E71@microsoft.com...[vbcol=seagreen]
> Kory,
>
> You need to ensure you enabled the "Web Service Extension" for the
> perl.exe
> or perlis.dll (cgi or isapi).  You can find this in iis.  There may
> already
> been an extension set but not enabled.  Simply enable it.  Or if there
> isn't
> one by chance, you can simply create one and point it to the PERL exe or
> dll.
>
> "Kory" wrote:
> 







[ Post a follow-up to this message ]



    Re: PERL File  
Kory


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

Ok.  I found the Service Extenstions and allowed PERL for cgi and asapi.
That did not help.  So i allowed all cgi extensions and all asapi
extenstions eventhough windows warned me a security risk.  Now when I try to
execute the script, it tells me HTTP 500 - Internal server error.  Should  i
be assuming the file is being excuted, but somehow fails?

Thank You!
"APadmin" <APadmin@discussions.microsoft.com> wrote in message
news:5B07C153-17AE-40FC-90A0-C1F7CB1F5E71@microsoft.com...[vbcol=seagreen]
> Kory,
>
> You need to ensure you enabled the "Web Service Extension" for the
> perl.exe
> or perlis.dll (cgi or isapi).  You can find this in iis.  There may
> already
> been an extension set but not enabled.  Simply enable it.  Or if there
> isn't
> one by chance, you can simply create one and point it to the PERL exe or
> dll.
>
> "Kory" wrote:
> 







[ Post a follow-up to this message ]



    Re: PERL File  
APadmin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

You're recieving an 500 error from your browser not the server.  To view the
real error, go into your Internet Explorer and select "Tools".  Then
"Internet Options", and select the "advanced" tab.  Find the option "Show
friendly error messages" and uncheck it.  This will allow you to see the rea
l
error.

And from the sound of it, it appears to be working 

"Kory" wrote:

> Ok.  I found the Service Extenstions and allowed PERL for cgi and asapi.
> That did not help.  So i allowed all cgi extensions and all asapi
> extenstions eventhough windows warned me a security risk.  Now when I try 
to
> execute the script, it tells me HTTP 500 - Internal server error.  Should 
 i
> be assuming the file is being excuted, but somehow fails?
>
> Thank You!
> "APadmin" <APadmin@discussions.microsoft.com> wrote in message
> news:5B07C153-17AE-40FC-90A0-C1F7CB1F5E71@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: PERL File  
Kory


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

Ok.  The error I get is "The specified procedure could not be found."

What does that mean?  this website worked great on IIS5.0
what can i do to fix it?
Thanks.


"APadmin" <APadmin@discussions.microsoft.com> wrote in message
news:2B433D2D-9854-45FA-B5C5-2CDD3A194BB0@microsoft.com...[vbcol=seagreen]
> You're recieving an 500 error from your browser not the server.  To view
> the
> real error, go into your Internet Explorer and select "Tools".  Then
> "Internet Options", and select the "advanced" tab.  Find the option "Show
> friendly error messages" and uncheck it.  This will allow you to see the
> real
> error.
>
> And from the sound of it, it appears to be working 
>
> "Kory" wrote:
> 







[ Post a follow-up to this message ]



    Re: PERL File  
APadmin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

Sounds like you're trying to call a PERL module that may not exist on your
new server.  Ensure that any modules your script uses are installed in your
new PERL installation.  If you want to simply test whether CGI is working
properly try putting the following code into a file:

print "Content-type: text/html\n\n";
print "Hello, world!\n";

If this returns "Hello, world!" in your browser then you're setup properly,
as far as IIS is concerned.

"Kory" wrote:

> Ok.  The error I get is "The specified procedure could not be found."
>
> What does that mean?  this website worked great on IIS5.0
> what can i do to fix it?
> Thanks.
>
>
> "APadmin" <APadmin@discussions.microsoft.com> wrote in message
> news:2B433D2D-9854-45FA-B5C5-2CDD3A194BB0@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: PERL File  
Kory


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-06 03:41 AM

Tried.  Same error.  So problem is with IIS.  Anymore adive????
Thank You


"APadmin" <APadmin@discussions.microsoft.com> wrote in message
news:D9CBA084-901D-46A1-B2FC-5EB192152772@microsoft.com...[vbcol=seagreen]
> Sounds like you're trying to call a PERL module that may not exist on your
> new server.  Ensure that any modules your script uses are installed in
> your
> new PERL installation.  If you want to simply test whether CGI is working
> properly try putting the following code into a file:
>
> print "Content-type: text/html\n\n";
> print "Hello, world!\n";
>
> If this returns "Hello, world!" in your browser then you're setup
> properly,
> as far as IIS is concerned.
>
> "Kory" wrote:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:20 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register