[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Quick Mnogosearch Question



Thanks Steve,

I have been asking at mnogosearch.org I asked this question here because I'm new to the Cobalt box and I'm not sure about the apache aliases setup - its different to all the examples I've seen.

Tim.

At 13:57 31/01/2002, you wrote:
"tim king" <tgk5@xxxxxxxxx> wrote:
> I've got a quick question about setting up mnogosearch
> on a raq4. In the indexer.conf file I need to create a
> setup which will index my site7 folder on the server.

You may want to ask at mnogosearch.org in the future. They have a mailing
list and web board with search interface. A fraction of the people here may
use mnoGoSearch and a few may know it well, but on the mnoGoSearch resources
you'll find *all* of the people either know it well or are asking questions
like yours about mnoGoSearch and only mnoGoSearch. But for now...

> Is is correct use:
> Server http://localhost/site7
> or
> Server http://localhost/site7/web
> or
> Server http://localhost/www.whatever.com
> or
> Something completely different?

None of the above.

Server site http://localhost/home/sites/site7/web/

Caveat: Since this calls the files directly off disk instead of through the
Apache webserver, mnoGoSearch will be reading the file contents, not the
output that would be sent to a browser or web agent. If the files are
HTML/text or another format like doc or pdf handled by a custom handler
program that's not a problem. But if they're PHP or some other language
that would normall be processed by the webserver before sending to the
browser, then mnoGoSearch will be reading the file's source code instead of
the file's output.

You probably really want to use Alias command instead of Server though if
you're reading directly off of disk.

Alias http://www.whatever.com/ file:/home/sites/site7/web/

The Server command will save the path specified, but the Alias command will
map it to a real-world URL and save that in the database so that links
generated by the mnoGoSearch front-end (or your own custom front-end) will
be valid. I hope that makes sense.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com