473,395 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Limiting search results to a subdirectory

I have a basic ASP / Index Server search page. I have a web site contained in
a subdirectory in the root of a main web site. What I’m trying to do is force
the search page in the subdirectory, conduct its search ONLY in the
subdirectory, and NOT display results from the parent/root. (Note: there is
also a similar search page for the main site, in the root, which I am having
no problem excluding the subdirectory from its search results.)

Here’s what I’ve tried so far:
1. My sys admin created a totally separate catalog to point to for the search
2. Limited the vpath to the subdirectory - (#vpath *\TextOnly*)
3. Tried various combinations of 1 & 2 above
4. Publish the site to another server, then created a redirect in the
subdirectory to point to that location

The results – the search either returns results from the root and
subdirectory, or it returns “No results found”.

Is this possible to return results from a subdirectory and exclude
everything from the parent/root?

Thank you.
Apr 2 '07 #1
0 1529

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Manfred Knobloch | last post by:
Is it possible to tell py2exe to create the exe file in a way that the resulting exe looks for python23.dll, _sre.pyd, library.zip, etc... in a subdirectory? Something like...
2
by: Lance Hoffmeyer | last post by:
Hi all, Anyone know where I can find a python script to search ebay? I have been looking around but haven't found anything. I know there must be one somewhere so I am probably just looking in...
1
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast,...
2
by: CharitiesOnline | last post by:
Hello, I have set this script up to add paging to a search results page. Which on the first page works fine. I calculates how many pages there should be depending on the number of results returned...
5
by: George | last post by:
Hi, Anyone has the background for explaining? I have made a search on my name and I have got a link to another search engine. The link's title was the search phrase for the other search engine...
2
by: RML | last post by:
hi guys i have searched all day and cannot find the code i am looking for. i am new to c# so please bear with me ;) i want to write a console app that simly lists in the console window, all...
64
by: Manfred Kooistra | last post by:
I am building a website with identical content in four different languages. On a first visit, the search engine determines the language of the content by the IP address of the visitor. What the...
2
by: John Nagle | last post by:
Some obscure import issues: I'm running Python 2.3.4 from a CGI script on a shared hosting Linux system. The CGI program is being executed from Apache, as "nobody". I have some local modules...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.