Search in specific directory ONLY?
March 12th, 2010http://myintranet/
There's a protected area,
http://myintranet/subdirectory/
I need to have a search tool for the main intranet that indexes everything - EXCEPT the subdirectory (it's important that stuff stay away from prying eyes).
At the same time, I want to have a search for the subdirectory that searches ONLY that subdirectory.
I can see how to do the latter, but not the former. Any suggestions? Many thanks in advance.
Michael Fuchs
One search for everything in
http://myintranet/ - EXCEPT http://myintranet/restricted/
Another search for
http://myintranet/restricted/ ONLY.
I understand how to do either (instructions for each have been thoughtfully provided ;^). But I don't see any way to do both at once - in order to keep the restricted area out of the main search, I have to delete or restrict it, which means there's no way to search it separately (that I can see).
Many thanks again. - Michael
The solution is in this thread (http://www.phpdig.net/showthread.php?s=&threadid=363).
Laurent
I need the main search engine to return results from everything under:
http://myintranet/
EXCEPT for materials in
http://myintranet/restricted/
At the same time, I do need to do what that thread describes - which is have a separate search for ONLY
http://myintranet/restricted/
That means that those materials have to be in the index. So how do I keep them out of searches for the primary search of the main site? The problem seems to be that phpdig bases it's notion of what's a "site" or "index" based on hostname. I essentially need two separate and exclusive sites, or indexes, for two areas that happent to be on the same host. Any workaround ideas? Many thanks again.
Michael
Perhaps I'll take this to the mod_requests forum . . .
Cheers.
#If you have any other info about this subject , Please add it free.# |