
November 12th, 2000, 01:43 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
I can not get any results from vpath, while using indexing services on IIS5. Can anyone help?
<i><b>Originally posted by : Ayac (ayac@usa.net)</b></i><br /> Nov 10, 2000 <br />I set up several index catalogs under wwwroot and using<br />3 simple files for retrieving the information. "nos.html"<br />sends the query to "nos.idq" what uses "Retrieve.htx" to<br />display the information. Everything seems to be good except<br />"vpath", I can not get any results back from that variable. Can anyone help me?<br /><br />Here are the codes, all of them located under <br />wwwrootindexsearch. The catalog files are located under<br />wwwrootIndexingService (each catalog has its own folder,<br />so I just picked out one for now).<br /><br />-------------- nos.html<br /><br /><html><br /><head><br /><title>Search Results</title><br /></head><br /><body bgcolor="#FFFFFF"><br /><FORM ACTION="/indexsearch/nos.idq" METHOD="GET"><br />Query : <INPUT TYPE="TEXT" NAME="Restriction" SIZE="60" MAXLENGTH="100" VALUE=""><br /><INPUT TYPE="SUBMIT" VALUE="Execute Query"><br /></FORM><br /></body><br /></html><br /><br />------------------- nos.idq<br /><br />[Query]<br />CiColumns=filename,size,rank,Characterization,vpat h,path,DocTitle,write,Create,Directory<br />CiCatalog=c:InetPubwwwrootIndexingServiceWisBarCiS cope=CiFlags=DEEP<br />CiRestriction=%Restriction%<br />CiMaxRecordsPerPage=300<br />CiMaxRecordsInResultSet=300<br />CiSort=rank[d] <br />CiTemplate=/indexsearch/Retrieve.htx<br /><br />------------------------------- Retrieve.htx<br /><br /><%begindetail%><br /><table width=100% border=1 cellpadding=3 cellspacing=0><br /><tr><td><br /><font face="times, arial" size=4><b><%CiCurrentRecordNumber%>.</b><br /><font face="times, arial" size=3> Filename: <b><A HREF="<%EscapeURL vpath%>" target=_blank><%EscapeURL vpath%><%filename%></A> </B> (<%size%> KBytes) (Rank: <%rank%>)<br><br />Title: <B><%DocTitle%></B><br><br />Created: <B><%Create%></b><%path%><BR><br />File updated: <B><%write%></B><BR><br /><i><%Characterization%></i><br /></td></tr></table><br><br /><%enddetail%> <br /><br />-------------------------------------<br /><br />I tried an ASP version of this code too, but it has the same problem: everything is working but the virtual path of the files are missing...<br />I thought it might be some settings on the server, because both different codes produced the same error, but I do not know really what the problem is...<br /><br />Many thanks in advance,<br />Ayac <br /><br />
|