 |
|
 |
|
Next: Just In Time Debugging
|
| Author |
Message |
External

Since: Apr 14, 2004 Posts: 2
|
(Msg. 1) Posted: Wed Apr 14, 2004 11:50 am
Post subject: Index Server to Search Intranet Archived from groups: microsoft>public>inetserver>iis (more info?)
|
|
|
I have code that uses IIS to search the intranet site
upon a users request. I moved the intranet to a new server
and now the search function does not work. I have started
the indexing service,created the catalog, and am trying to
use the old code. I get the following error "HTTP 405 -
Resource not allowed
Internet Information Services". It works when I test it
using "Query the Catalog" in Computer Management, but now
when accessed from the intranet home page. I have the 3
files necessary - .htm, .htx, and .idq. My .idq file looks
like this:
[Query]
cirestriction=(%UserRestriction%) & ! #vpath *\_vti* & !
#vpath *\_private\* & ! #vpath *\_derived\* & ! #vpath
*\_themes\* & ! #vpath *\_overlay\* & ! #vpath
*\_fpclass\* & ! #vpath *\_borders\*
ciscope=/
citemplate=/search/results.htx
cicolumns=DocTitle,filename,vpath,size,write,rank
ciflags=DEEP
cisort=Rank[d]
cicatalog=C:\Catalog
The .htm code looks like this:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Intranet (H-Net) Search Form</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="none, default">
</head>
<body >
<p> </p>
<h1>Intranet (H-Net) Search Form</h1>
<!--webbot bot="Search" s-index="_intranet1" s-
dsn="default"
s-fields="DocumentK,TimeStamp,Weight"
TAG="FORM"
S-Text="Search for:"
I-Size="50"
S-Submit="Start Search"
S-Clear="Reset" startspan b-useindexserver="0"
--><form action="../_vti_bin/shtml.dll/search/index.htm"
method="POST"><input type="hidden" name="VTI-GROUP"
value="0"><p><b>Search for: </b><input type="text"
name="search" size="50" value></p><p><input type="submit"
value="Start Search"><input type="reset"
value="Reset"></p></form><!--webbot bot="Search" i-
checksum="48369" endspan -->
I do not understand the form action line in the above code
and wonder if maybe the path has changed on the new server.
Can anyone lead me in the right direction? I can post my
other two files too if that would help. >> Stay informed about: Index Server to Search Intranet |
|
| Back to top |
|
 |  |
External

Since: Aug 26, 2003 Posts: 1525
|
(Msg. 2) Posted: Wed Apr 14, 2004 8:36 pm
Post subject: Re: Index Server to Search Intranet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Server OS version? URLScan installed or IIS6 and Index Server not
allowed as a web app?
Jeff
On Wed, 14 Apr 2004 08:50:37 -0700, "cmh"
<anonymous.DeleteThis@discussions.microsoft.com> wrote:
> I have code that uses IIS to search the intranet site
>upon a users request. I moved the intranet to a new server
>and now the search function does not work. I have started
>the indexing service,created the catalog, and am trying to
>use the old code. I get the following error "HTTP 405 -
>Resource not allowed
>Internet Information Services". It works when I test it
>using "Query the Catalog" in Computer Management, but now
>when accessed from the intranet home page. I have the 3
>files necessary - .htm, .htx, and .idq. My .idq file looks
>like this:
>[Query]
>cirestriction=(%UserRestriction%) & ! #vpath *\_vti* & !
>#vpath *\_private\* & ! #vpath *\_derived\* & ! #vpath
>*\_themes\* & ! #vpath *\_overlay\* & ! #vpath
>*\_fpclass\* & ! #vpath *\_borders\*
>ciscope=/
>citemplate=/search/results.htx
>cicolumns=DocTitle,filename,vpath,size,write,rank
>ciflags=DEEP
>cisort=Rank[d]
>cicatalog=C:\Catalog
>
>
>The .htm code looks like this:
><html>
>
><head>
><meta http-equiv="Content-Type" content="text/html;
>charset=windows-1252">
><meta http-equiv="Content-Language" content="en-us">
>
>
><title>Intranet (H-Net) Search Form</title>
><meta name="GENERATOR" content="Microsoft FrontPage 4.0">
><meta name="ProgId" content="FrontPage.Editor.Document">
><meta name="Microsoft Theme" content="none, default">
></head>
>
><body >
>
>
><p> </p>
>
><h1>Intranet (H-Net) Search Form</h1>
>
>
><!--webbot bot="Search" s-index="_intranet1" s-
>dsn="default"
>s-fields="DocumentK,TimeStamp,Weight"
>TAG="FORM"
>S-Text="Search for:"
>I-Size="50"
>S-Submit="Start Search"
>S-Clear="Reset" startspan b-useindexserver="0"
>--><form action="../_vti_bin/shtml.dll/search/index.htm"
>method="POST"><input type="hidden" name="VTI-GROUP"
>value="0"><p><b>Search for: </b><input type="text"
>name="search" size="50" value></p><p><input type="submit"
>value="Start Search"><input type="reset"
>value="Reset"></p></form><!--webbot bot="Search" i-
>checksum="48369" endspan -->
>
>I do not understand the form action line in the above code
>and wonder if maybe the path has changed on the new server.
>
>Can anyone lead me in the right direction? I can post my
>other two files too if that would help.
>
><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: Index Server to Search Intranet |
|
| Back to top |
|
 |  |
External

Since: Apr 14, 2004 Posts: 2
|
(Msg. 3) Posted: Wed Apr 14, 2004 8:36 pm
Post subject: Re: Index Server to Search Intranet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
The server is running Windows 2000 version 5 SP 4 - with
IIS 5
>-----Original Message-----
>Server OS version? URLScan installed or IIS6 and Index
Server not
>allowed as a web app?
>
>Jeff
>
>On Wed, 14 Apr 2004 08:50:37 -0700, "cmh"
><anonymous DeleteThis @discussions.microsoft.com> wrote:
>
>> I have code that uses IIS to search the intranet site
>>upon a users request. I moved the intranet to a new
server
>>and now the search function does not work. I have
started
>>the indexing service,created the catalog, and am trying
to
>>use the old code. I get the following error "HTTP 405 -
>>Resource not allowed
>>Internet Information Services". It works when I test it
>>using "Query the Catalog" in Computer Management, but
now
>>when accessed from the intranet home page. I have the 3
>>files necessary - .htm, .htx, and .idq. My .idq file
looks
>>like this:
>>[Query]
>>cirestriction=(%UserRestriction%) & ! #vpath *\_vti* & !
>>#vpath *\_private\* & ! #vpath *\_derived\* & ! #vpath
>>*\_themes\* & ! #vpath *\_overlay\* & ! #vpath
>>*\_fpclass\* & ! #vpath *\_borders\*
>>ciscope=/
>>citemplate=/search/results.htx
>>cicolumns=DocTitle,filename,vpath,size,write,rank
>>ciflags=DEEP
>>cisort=Rank[d]
>>cicatalog=C:\Catalog
>>
>>
>>The .htm code looks like this:
>><html>
>>
>><head>
>><meta http-equiv="Content-Type" content="text/html;
>>charset=windows-1252">
>><meta http-equiv="Content-Language" content="en-us">
>>
>>
>><title>Intranet (H-Net) Search Form</title>
>><meta name="GENERATOR" content="Microsoft FrontPage 4.0">
>><meta name="ProgId" content="FrontPage.Editor.Document">
>><meta name="Microsoft Theme" content="none, default">
>></head>
>>
>><body >
>>
>>
>><p> </p>
>>
>><h1>Intranet (H-Net) Search Form</h1>
>>
>>
>><!--webbot bot="Search" s-index="_intranet1" s-
>>dsn="default"
>>s-fields="DocumentK,TimeStamp,Weight"
>>TAG="FORM"
>>S-Text="Search for:"
>>I-Size="50"
>>S-Submit="Start Search"
>>S-Clear="Reset" startspan b-useindexserver="0"
>>--><form action="../_vti_bin/shtml.dll/search/index.htm"
>>method="POST"><input type="hidden" name="VTI-GROUP"
>>value="0"><p><b>Search for: </b><input type="text"
>>name="search" size="50" value></p><p><input
type="submit"
>>value="Start Search"><input type="reset"
>>value="Reset"></p></form><!--webbot bot="Search" i-
>>checksum="48369" endspan -->
>>
>>I do not understand the form action line in the above
code
>>and wonder if maybe the path has changed on the new
server.
>>
>>Can anyone lead me in the right direction? I can post my
>>other two files too if that would help.
>>
>>
>
>.
><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: Index Server to Search Intranet |
|
| Back to top |
|
 |  |
External

Since: Aug 26, 2003 Posts: 1525
|
(Msg. 4) Posted: Thu Apr 15, 2004 6:09 am
Post subject: Re: Index Server to Search Intranet [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Wed, 14 Apr 2004 11:23:22 -0700, "cmh"
<anonymous DeleteThis @discussions.microsoft.com> wrote:
>
>The server is running Windows 2000 version 5 SP 4 - with
>IIS 5
Again, are you running URLScan and blocking the IDQ extension? Have
you secured the server by disabling HTX and/or IDQ extensions?
Jeff
>>-----Original Message-----
>>Server OS version? URLScan installed or IIS6 and Index
>Server not
>>allowed as a web app?
>>
>>Jeff
>>
>>On Wed, 14 Apr 2004 08:50:37 -0700, "cmh"
>><anonymous DeleteThis @discussions.microsoft.com> wrote:
>>
>>> I have code that uses IIS to search the intranet site
>>>upon a users request. I moved the intranet to a new
>server
>>>and now the search function does not work. I have
>started
>>>the indexing service,created the catalog, and am trying
>to
>>>use the old code. I get the following error "HTTP 405 -
>>>Resource not allowed
>>>Internet Information Services". It works when I test it
>>>using "Query the Catalog" in Computer Management, but
>now
>>>when accessed from the intranet home page. I have the 3
>>>files necessary - .htm, .htx, and .idq. My .idq file
>looks
>>>like this:
>>>[Query]
>>>cirestriction=(%UserRestriction%) & ! #vpath *\_vti* & !
>>>#vpath *\_private\* & ! #vpath *\_derived\* & ! #vpath
>>>*\_themes\* & ! #vpath *\_overlay\* & ! #vpath
>>>*\_fpclass\* & ! #vpath *\_borders\*
>>>ciscope=/
>>>citemplate=/search/results.htx
>>>cicolumns=DocTitle,filename,vpath,size,write,rank
>>>ciflags=DEEP
>>>cisort=Rank[d]
>>>cicatalog=C:\Catalog
>>>
>>>
>>>The .htm code looks like this:
>>><html>
>>>
>>><head>
>>><meta http-equiv="Content-Type" content="text/html;
>>>charset=windows-1252">
>>><meta http-equiv="Content-Language" content="en-us">
>>>
>>>
>>><title>Intranet (H-Net) Search Form</title>
>>><meta name="GENERATOR" content="Microsoft FrontPage 4.0">
>>><meta name="ProgId" content="FrontPage.Editor.Document">
>>><meta name="Microsoft Theme" content="none, default">
>>></head>
>>>
>>><body >
>>>
>>>
>>><p> </p>
>>>
>>><h1>Intranet (H-Net) Search Form</h1>
>>>
>>>
>>><!--webbot bot="Search" s-index="_intranet1" s-
>>>dsn="default"
>>>s-fields="DocumentK,TimeStamp,Weight"
>>>TAG="FORM"
>>>S-Text="Search for:"
>>>I-Size="50"
>>>S-Submit="Start Search"
>>>S-Clear="Reset" startspan b-useindexserver="0"
>>>--><form action="../_vti_bin/shtml.dll/search/index.htm"
>>>method="POST"><input type="hidden" name="VTI-GROUP"
>>>value="0"><p><b>Search for: </b><input type="text"
>>>name="search" size="50" value></p><p><input
>type="submit"
>>>value="Start Search"><input type="reset"
>>>value="Reset"></p></form><!--webbot bot="Search" i-
>>>checksum="48369" endspan -->
>>>
>>>I do not understand the form action line in the above
>code
>>>and wonder if maybe the path has changed on the new
>server.
>>>
>>>Can anyone lead me in the right direction? I can post my
>>>other two files too if that would help.
>>>
>>>
>>
>>.
>><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: Index Server to Search Intranet |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|