search box on an Apache server?

This is a discussion on search box on an Apache server? within the Apache Web Server forums, part of the Web Server and Related Forums category; I have a general question.. How do you set up a search box on an Apache server (within the same ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-18-2005
IchBin
 
Posts: n/a
Default search box on an Apache server?

I have a general question..

How do you set up a search box on an Apache server (within the same site)?
--


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________ ________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
  #2 (permalink)  
Old 11-18-2005
Purl Gurl
 
Posts: n/a
Default Re: search box on an Apache server?

IchBin <weconsul@ptd.net> wrote:

> How do you set up a search box on an Apache server (within the same site)?


You need to better define "search box" and define your needs.

If you are making reference to a search facility which will search files
on a server, this is easy to do. However, search and return programs
are extremely resource intense. Give careful thought to whether or not
you want to use tremendous amounts of system resources to provide
a search feature for visitors.

Typically, for "smallish" sites, a search program is run under mod_perl
and accepts a query string input from any given user account. Others
use fast_cgi which offers better performance than mod_perl. Both
methods have benefits and disadvantages.

Large sites, such as Amazon, Ebay and Google, use many machines,
each dedicated to serving search requests.

However, a more logical and less system resource intense method
is to provide a search facility for each user account, this is making
a presumption any given user account is not "gigantic."

There are numerous cgi applications available for this function.

Security is extremely critical. Do not use a search function cgi
which can be easily hacked. You do not want an application
to return results from your root system!

Search: ../../etc/passwd

Purl Gurl
  #3 (permalink)  
Old 11-18-2005
Pat Farrell
 
Posts: n/a
Default Re: search box on an Apache server?

IchBin wrote:
> How do you set up a search box on an Apache server (within the same
> site)?


Rather than doing this within apache, why not just put a google box
on the site and add the site-specific commands to google behind
the scenes. I don't recall the specifics off hand, but
the google technical pages will have it.

--
Pat


  #4 (permalink)  
Old 11-18-2005
IchBin
 
Posts: n/a
Default Re: search box on an Apache server?

Pat Farrell wrote:
> IchBin wrote:
>> How do you set up a search box on an Apache server (within the same
>> site)?

>
> Rather than doing this within apache, why not just put a google box
> on the site and add the site-specific commands to google behind
> the scenes. I don't recall the specifics off hand, but
> the google technical pages will have it.
>

Thanks for info. I have all of that set up on my web site already.

Sorry, let me ask maybe a better question..

Say I wanted to do this on my own intranet not using outside search
engines. I realize that I need the code for the search engine. I use
Apache2 in front of my Tomcat server. I also have test JBOSS and
GlassFish but these will not be n the mix.

How would I set this up on the same Domain?

Would I need to setup a VirtualHost on that node and direct all queries
to that VirtualHost?

Is this the way it would normally be done? Are their other ways to do
this on the same *intranet*.

--

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________ ________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
  #5 (permalink)  
Old 11-19-2005
arjenmeijer@nietbereikbaar.nl
 
Posts: n/a
Default Re: search box on an Apache server?

IchBin schreef:

http://www.wrensoft.com/

Arjen

> Pat Farrell wrote:
>
>> IchBin wrote:
>>
>>> How do you set up a search box on an Apache server (within the same
>>> site)?

>>
>>
>> Rather than doing this within apache, why not just put a google box
>> on the site and add the site-specific commands to google behind
>> the scenes. I don't recall the specifics off hand, but
>> the google technical pages will have it.
>>

> Thanks for info. I have all of that set up on my web site already.
>
> Sorry, let me ask maybe a better question..
>
> Say I wanted to do this on my own intranet not using outside search
> engines. I realize that I need the code for the search engine. I use
> Apache2 in front of my Tomcat server. I also have test JBOSS and
> GlassFish but these will not be n the mix.
>
> How would I set this up on the same Domain?
>
> Would I need to setup a VirtualHost on that node and direct all queries
> to that VirtualHost?
>
> Is this the way it would normally be done? Are their other ways to do
> this on the same *intranet*.
>

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0