Welcome Visitor, Please Login or Register Now Friday, March 29, 2024 12:00 PM 
Forums Index > Mewsoft Products > Searchawy > Searchawy - WinNT4 - IIS4
New Topic   New Reply
Search for:
Author Message
Anonymous Anonymous's personal page
Registered Member
Posts: Display member's posts
Joined: 03-29-24 12:00 PM
Member Offline
View Member's Profile PM
 
Back to top
Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
First Post Posted on: 04-17-10 03:38 PM next post first post
Hello All;

I have a major issue here (Then again, it could be something simple)
When I bring up: mydomain.com/cgi-bin/dir/testserver.cgi
I see?? :? The source code :?

What am I doing wrong? Is there something else in IIS that I need to do? Or is there something that I need to do to the scripts?
Please let me know, this is really annoying, and driving me absolutely crazy.

Thank You All

Wayne
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 03-29-24 12:00 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 1 Posted on: 04-17-10 04:36 PM next post previous post
Did you mapped the ".pl" and ".cgi" to be executed by perl. From the DOS, when you click on *.cgi files it should be run by perl and not by notepad. I think thant may be the issue. ALso perl must be istalled (www.activestate.com) .

Mewsoft Support
www.mewsoft.com

Anonymous Anonymous's personal page
Registered Member
Posts: Display member's posts
Joined: 03-29-24 12:00 PM
Member Offline
View Member's Profile PM
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 2 Posted on: 04-17-10 09:14 PM next post previous post
Yes I have PERL Installed. And yes I have everything linked to the perl.exe ... .pl & .cgi
And it is not Notepad that is opening up, it is Internet Explorer.
There is a setting somewhere that needs to be set.

I have posted on another forum this same questions, so when I finally get a responce that works, I will come in here, unless someone else may know the problem.

Wayne
Anonymous Anonymous's personal page
Registered Member
Posts: Display member's posts
Joined: 03-29-24 12:00 PM
Member Offline
View Member's Profile PM
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 3 Posted on: 04-18-10 12:06 PM next post previous post
Got it fixed.
For some reason, IIS did not install properly the 1st go around, which made PERL not install properly as well.
But I got it now, finally see the actual page of " testserver.cgi "

Take Care all

Wayne
Anonymous Anonymous's personal page
Registered Member
Posts: Display member's posts
Joined: 03-29-24 12:00 PM
Member Offline
View Member's Profile PM
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 4 Posted on: 04-18-10 01:23 PM next post previous post
On the type of the " search.cgi " page/ ( It is running now :-) )
There is this line here:

HTTP/1.1 200 OK Date: Tue, 24 Aug 2004 03:32:51 GMT Server: Microsoft-IIS/4.0 Content-type: text/html

Where is this located at? is it in the " Search.cgi " File?
If so, how do I comment it out? So that it is not visible?

First time working with CGI/PERL so, bare with me a little here.
I will not bug to much, a lot of the information I will search in the
Internet for. I love to search and find information, that is what makes
This whole thing, so much fun :-)

Wayne
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 03-29-24 12:00 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 5 Posted on: 04-19-10 05:38 AM next post previous post
Try to run any other .cgi file in the search, for example the AddURL.cgi or ms.cgi and see if you getthis message. Did you see it with testserver.cgi?
if this only diaply with this file, then you may check this line:

print "Content-type: text/html ";

is commented:

#print "Content-type: text/html ";

at the top of the file, some thing like this:

$| = 1;
#print "Content-type: text/html ";
use CGI::Carp qw(fatalsToBrowser);


Mewsoft Support
www.mewsoft.com

carrzkiss carrzkiss's personal page
Registered Member
Posts: 51 Display member's posts
Joined: 03-29-24 12:00 PM
Member Offline
View Member's Profile Send private message
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 6 Posted on: 04-19-10 10:08 AM next post previous post
OK, got it taken care of.
Needed to Comment-Out the following lines.

#$| = 1;

#sub Vendor
{ # this had to be moved down as it is needed in the script

#print "Content-type: text/html ";

Now it is gone.

Wayne
carrzkiss carrzkiss's personal page
Registered Member
Posts: 51 Display member's posts
Joined: 03-29-24 12:00 PM
Member Offline
View Member's Profile Send private message
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 7 Posted on: 04-19-10 02:12 PM next post previous post
Did not get it taken care of??
This is really strang.

The /dir/index.shtml
Shows this at the top
[HTTP/1.1 200 OK Date: Tue, 24 Aug 2004 03:32:51 GMT Server: Microsoft-IIS/4.0 Content-type: text/html ]

But the " search.cgi " does not show it at the top.

So what I commented out of the code, may and may not of worked?

NT4 IIS4

Wayne
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 03-29-24 12:00 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Re: Searchawy - WinNT4 - IIS4 Edit Delete Reply with quote Quote
Reply #: 8 Posted on: 04-19-10 05:31 PM last post previous post
May be you try to clear everything in the index.shtml except the SSI line which starts with <!--#exec cgi="/cgi-bin/dir/search.cgi"-->. Of course these also are server settings.

Mewsoft Support
www.mewsoft.com

Page 1 of 1
Go to page:

New Topic   New Reply Mark Unread
Jump to:  
Delete   Move     Lock   +Favorits   +Notify   Print