From: Carl E. <ed...@vi...> - 2003-09-19 21:57:24
|
If I understand what you are asking for check out the script_name directive. Mine is set to /searchresults.shtml in which I do includes to my navigation, footer etc. -Carl Edwards Vitesse=20 > -----Original Message----- > From: Pete Prodoehl [mailto:pet...@cy...] > Sent: Friday, September 19, 2003 8:16 AM > To: htdig > Subject: Re: [htdig] Logging zero hit queries & using PHP for > nothing_found_file. >=20 >=20 >=20 > I don't have a solution, but a similar problem. >=20 > I want to use SSI in the files that htdig serves. >=20 > This isn't possible from what I've read, but I have a related feature=20 > request. >=20 > Can some sort of include mechanism exist withing htdig pages? >=20 > For instance, in my html pages, a typical include works like so: >=20 > <!--#include virtual=3D"/foo.html" --> >=20 > If I build a site using html pages, but mix in some perl code using=20 > HTML::Template I can use includes again: >=20 > <!-- TMPL_INCLUDE NAME=3D"foo.html" --> >=20 > Different syntax, does the same thing. >=20 > Is there a chance htdig could do some sort of file include? >=20 > It would help to avoid having to put things like nav bars, footers,=20 > copyright text, etc. directly into the htdig files... >=20 > thanks... >=20 >=20 > Pete >=20 >=20 > Quag7 wrote: >=20 > > Hi. > >=20 > > I have htdig running and I like it a lot but I can't figure=20 > out how to > > log search queries to a file. The idea here is to look at=20 > the queries > > and improve the search results through a variety of means. > >=20 > > I am mainly concerned with queries that turn up zero hits. The most > > obvious thing, it seemed, was to modify the nomatch.html=20 > file to write > > the queries to a file. > >=20 > > Since turning on PHP parsing of .html files is not=20 > practical on my site, > > I began looking for ways of making the nothing_found_file a=20 > PHP file. I > > have had no luck; while I can set this in the conf file to=20 > a .php file, > > the file will not parse as PHP (it dumps it as HTML; I can=20 > view the PHP > > source in my browser). > >=20 > > Does anyone have a workaround for this? > >=20 > > -- > > qu...@fr... * ICQ#13365630 > > http://www.frostwarning.com/~quag7 > > #jiggyweek (irc.sorcery.net) * Uptime: [ ~1.3 billion ] years > >=20 > >=20 > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > ht://Dig general mailing list: <htd...@li...> > ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html > List information (subscribe/unsubscribe, etc.) > https://lists.sourceforge.net/lists/listinfo/htdig-general >=20 |