How to exclude folders from FP search component results
How to exclude folders from FP search component results
am 13.10.2005 07:28:49 von itr01
Hello,
I have looked all over the Web, RTR Website support files, MS KB, FPSE
documentation and haven't found a solution for this. I now have little
hope, but here goes...
My host is running Apache with FP Extensions. They are not familiar with
getting this to work and don't seem willing to look for answers.
My Web has a FP Search component form, and it returns results from Subwebs
and folders that I want to exclude.
My assumptions are:
1. This setup uses WAIS search and NOT Index Server.
2. The options in the search.htm0.idq file (included below) apply to Index
Server only so they are not relevant (although I tried excluding the folders
on cirestriction anyway). My hosting provider says excluding folders should
be done in the Web root .htaccess file (included below).
3. .htaccess has an IndexIgnore directive which seems to me is also ignored
because I have tried adding the folders using several formats and it makes
no difference.
The only other variable I see is the (%UserRestrriction%) concatenated in
cirestriction directive of the search.htm0.idq file. I don't see a way to
set this in the FP client. I don't know if there is a way to set that
variable in the .htaccess file or other place.
Does anyone have an idea of how to do this or where there would be
documentation.?
Thanks for the help.
Ivan Torres
------------------------------------------------------------ ------------------------------------------------------------ --------------------------
search.htm0.idq file
------------------------------------------------------------ ------------------------------------------------------------ ---------------------------
[Query]
cirestriction=(%UserRestriction%) & ! #vpath *\_vti* & ! #vpath *\_private\*
& ! #vpath *\_derived\* & ! #vpath *\_themes\* & ! #vpath *\_overlay\* & !
#vpath *\_fpclass\* & ! #vpath *\_borders\* & ! #vpath *\myplace\* & !
#vpath *\personal\*
ciscope=/
citemplate=/_derived/search.htm0.htx
cicolumns=DocTitle,filename,vpath,write,size
ciflags=DEEP
cisort=Rank[d]
cicatalog=d:\web\users\myweb
------------------------------------------------------------ ------------------------------------------------------------ -----------------------------
.htaccess file
------------------------------------------------------------ ------------------------------------------------------------ ----------------------------
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* */personal*
*/myplace*
order deny,allow
deny from all
allow from all
order deny,allow
deny from all
AuthName authoruser
AuthUserFile /services/webpages/i/t/itsweb/public/_vti_pvt/service.pwd
AuthGroupFile /services/webpages/i/t/itsweb/public/_vti_pvt/service.grp
Re: How to exclude folders from FP search component results
am 13.10.2005 10:10:29 von Stefan B Rusynko
1) WAIS search only searches the active web or subweb and all folders without an _undescore for the _leading character in the
_folder name
2) WAIS search does not search any FP subwebs under a rootweb or another subweb
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"Iván Torres" wrote in message news:%23D8R$b7zFHA.2752@TK2MSFTNGP12.phx.gbl...
| Hello,
|
| I have looked all over the Web, RTR Website support files, MS KB, FPSE
| documentation and haven't found a solution for this. I now have little
| hope, but here goes...
|
| My host is running Apache with FP Extensions. They are not familiar with
| getting this to work and don't seem willing to look for answers.
|
| My Web has a FP Search component form, and it returns results from Subwebs
| and folders that I want to exclude.
|
| My assumptions are:
| 1. This setup uses WAIS search and NOT Index Server.
| 2. The options in the search.htm0.idq file (included below) apply to Index
| Server only so they are not relevant (although I tried excluding the folders
| on cirestriction anyway). My hosting provider says excluding folders should
| be done in the Web root .htaccess file (included below).
| 3. .htaccess has an IndexIgnore directive which seems to me is also ignored
| because I have tried adding the folders using several formats and it makes
| no difference.
|
| The only other variable I see is the (%UserRestrriction%) concatenated in
| cirestriction directive of the search.htm0.idq file. I don't see a way to
| set this in the FP client. I don't know if there is a way to set that
| variable in the .htaccess file or other place.
|
| Does anyone have an idea of how to do this or where there would be
| documentation.?
|
| Thanks for the help.
| Ivan Torres
|
|
| ------------------------------------------------------------ ------------------------------------------------------------ --------------------------
|
| search.htm0.idq file
| ------------------------------------------------------------ ------------------------------------------------------------ ---------------------------
| [Query]
| cirestriction=(%UserRestriction%) & ! #vpath *\_vti* & ! #vpath *\_private\*
| & ! #vpath *\_derived\* & ! #vpath *\_themes\* & ! #vpath *\_overlay\* & !
| #vpath *\_fpclass\* & ! #vpath *\_borders\* & ! #vpath *\myplace\* & !
| #vpath *\personal\*
| ciscope=/
| citemplate=/_derived/search.htm0.htx
| cicolumns=DocTitle,filename,vpath,write,size
| ciflags=DEEP
| cisort=Rank[d]
| cicatalog=d:\web\users\myweb
| ------------------------------------------------------------ ------------------------------------------------------------ -----------------------------
|
|
| .htaccess file
| ------------------------------------------------------------ ------------------------------------------------------------ ----------------------------
| # -FrontPage-
|
| IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* */personal*
| */myplace*
|
|
| order deny,allow
| deny from all
| allow from all
|
|
| order deny,allow
| deny from all
|
| AuthName authoruser
| AuthUserFile /services/webpages/i/t/itsweb/public/_vti_pvt/service.pwd
| AuthGroupFile /services/webpages/i/t/itsweb/public/_vti_pvt/service.grp
|
|
|
|
Re: How to exclude folders from FP search component results
am 13.10.2005 10:25:26 von Ronx
search.htm0.idq is only used on Windows servers running Index Service.
Apache on Windows will not run the extensions, and will not use .htaccess
files, Apache on Unix will not use .idq files, but will use the WAIS
search - see Stefan's response.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
"Iván Torres" wrote in message
news:#D8R$b7zFHA.2752@TK2MSFTNGP12.phx.gbl...
> Hello,
>
> I have looked all over the Web, RTR Website support files, MS KB, FPSE
> documentation and haven't found a solution for this. I now have little
> hope, but here goes...
>
> My host is running Apache with FP Extensions. They are not familiar with
> getting this to work and don't seem willing to look for answers.
>
> My Web has a FP Search component form, and it returns results from Subwebs
> and folders that I want to exclude.
>
> My assumptions are:
> 1. This setup uses WAIS search and NOT Index Server.
> 2. The options in the search.htm0.idq file (included below) apply to Index
> Server only so they are not relevant (although I tried excluding the
folders
> on cirestriction anyway). My hosting provider says excluding folders
should
> be done in the Web root .htaccess file (included below).
> 3. .htaccess has an IndexIgnore directive which seems to me is also
ignored
> because I have tried adding the folders using several formats and it makes
> no difference.
>
> The only other variable I see is the (%UserRestrriction%) concatenated in
> cirestriction directive of the search.htm0.idq file. I don't see a way to
> set this in the FP client. I don't know if there is a way to set that
> variable in the .htaccess file or other place.
>
> Does anyone have an idea of how to do this or where there would be
> documentation.?
>
> Thanks for the help.
> Ivan Torres
>
>
> ------------------------------------------------------------ --------------
------------------------------------------------------------ ------------
>
> search.htm0.idq file
> ------------------------------------------------------------ --------------
------------------------------------------------------------ -------------
> [Query]
> cirestriction=(%UserRestriction%) & ! #vpath *\_vti* & ! #vpath
*\_private\*
> & ! #vpath *\_derived\* & ! #vpath *\_themes\* & ! #vpath *\_overlay\* & !
> #vpath *\_fpclass\* & ! #vpath *\_borders\* & ! #vpath *\myplace\* & !
> #vpath *\personal\*
> ciscope=/
> citemplate=/_derived/search.htm0.htx
> cicolumns=DocTitle,filename,vpath,write,size
> ciflags=DEEP
> cisort=Rank[d]
> cicatalog=d:\web\users\myweb
> ------------------------------------------------------------ --------------
------------------------------------------------------------ ---------------
>
>
> .htaccess file
> ------------------------------------------------------------ --------------
------------------------------------------------------------ --------------
> # -FrontPage-
>
> IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
*/personal*
> */myplace*
>
>
> order deny,allow
> deny from all
> allow from all
>
>
> order deny,allow
> deny from all
>
> AuthName authoruser
> AuthUserFile /services/webpages/i/t/itsweb/public/_vti_pvt/service.pwd
> AuthGroupFile /services/webpages/i/t/itsweb/public/_vti_pvt/service.grp
>
>
>
>