-
Hello, I wonder if you could help me. well the problem is that I aslo use index server and the search results are being
displayed in a result.htx file. The "path" variable and "vpath" are known to me, with
path variable to keep the physical path of each page that found after search.e.g
path=c:/Inetpub/wwwroot/examples/online/indexing/examples.html
vpath=IP/examples/online/
The problem is that I need the full virtual path of the pages that have been found like
IP/examples/online/indexing/examples.html in order to put it in href tag and make the
doctitle link to the corresponding page
Any advice would be more than helpful
Thank you on advance
John Costouros
Web Developer
-
Try modifying this chunk a' code I wrote to suit your needs. I had the exact same problem with index server.
Code:
'hack to change physical path to virtual path
virt = replace(Results("Path"), "c:/Inetpub/wwwroot/", "")
virt = replace(virt, "\", "/")