Indexing multiple virtual hosts

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Indexing multiple virtual hosts

Post by Thunderstone »




To whom it may concern,

I have really tried to RTFM here, but I cannot seem to find an answer
to this problem in your message archives, or in your on-line manual.
I would like to set up webinator to index several different virtual domains,
put each domain in its own database, and allow each indexed domain to
search their indexed site using their database. We are using your NT
version of Webinator on an NT4,IIS4 web server.

Here is our problem,
- I have installed texis.exe into our scripts directory (
D:\Inetpub\scripts\ ) this directory has read & execute access
- I have installed webinator in D:\Inetpub\Webinator
- I have set up a virtual directory for the site I wish to index which
points http://<virtual domain name>/search/ to the script directory
containing texis.exe
- The virtually hosted sites to be indexed are in
D:\Inetpub\Virtualroot\<virtual domain name>
- I have created the database tables using gw
-d/inetpub/webinator/db/tablename -create
- and I have populated the database using gw
-d/inetpub/webinator/db/tablename http://<virtual domain name> with various
options ( -D1 -o -fasp -fcfm etc...)

When I try to access the search page ( http://<virtual domain
name>/search/texis.exe/webinator/search )
I get the error message

----------------------------
Texis Web Script (Vortex) Copyright © 1996-1999 Thunderstone - EPI, Inc.
Free Webinator Version 2.6.929628453 of Jun 17, 1999 (i586-intel-winnt)

Error
002 /webinator/ahs: Can't open source file D:\InetPub\virtualroot\<virtual
domain name>\webinator\search: No such file or directory in the function
compilefile
----------------------------

Texis appears to be looking for the vortex search page inside the virtual
host's directory,
( D:\Inetpub\virtualroot\<virtual domain name>\webinator\search ) instead
of d:\inetpub\webinator\search.

Please advise asap.

Thanks,
Sincerely
Tim Rutherford
tim@c4.net
(508) 240-0051 (v.)
(508) 240-0057 (f.)
http://www.c4.net/webpages

Don't forget to check out our new search engine!
http://www.SearchCapeCod.com





User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Indexing multiple virtual hosts

Post by Thunderstone »



That is the expected behaviour. When you access

http://<virtual domainname>/search/texis.exe/webinator/search

it will look for the search script in the location that would be accessed
as: http://<virtual domainname>/webinator/search

you should either put a copy of the search script in each virtualroot,
and you could set the database name appropriate for that site in there,
or you would need to set up /webinator/ as a virtual directory for each
of the virtual hosts which points to the directory you want.

John Turnbull
-------------
Thunderstone Software


Tim Rutherford said:


Post Reply