Info wrote:
> I am trying the search script which is provided in the apache::asp 
> package.(../aps/apps/search/index.asp). I had it running, but no matter 
> what keyword i tried,  it keep giving me the No matches found for your 
> search. Where does the script search in? How do i make the script to 
> search a certain directory and sub-directories?
>  

The configuration is driven by the file ./site/apps/search/.htaccess
included below.

It uses relative file names & URLs to find its content with the
SearchFileRoot & SearchSiteRoot settings.  Looks at the source
for more information on how it works.

--Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com

DirectoryIndex index.asp
<Files ~ \.asp$>
         SetHandler perl-script
         PerlHandler Apache::ASP
         PerlSetVar Global .
         PerlSetVar GlobalPackage My::Search
         PerlSetVar StateDir /tmp/asp_search
         PerlSetVar Debug -3
         PerlSetVar IncludesDir ../../eg
         PerlSetVar UseStrict 1
         PerlSetVar SessionSerialize 1

         PerlSetVar SearchDB /tmp/asp_search/search
         PerlSetVar SearchFileRoot ../..
         PerlSetVar SearchSiteRoot ../..
         PerlSetVar SearchRefreshPeriod 86400
         PerlSetVar SearchFileMatch (\.asp|\.html?)$
</Files>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to