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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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-) |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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-) |
|
|||
|
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*. > |