Re: Search as error page
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42913
interpreted = N
texte = HiI am running Westar 4.1 as the server, error pages work when they are .html files but when I set an error page to a .htm file (which are handled by webcatalog) I get this errorIf I set the error page to say index.html I get the indexpage, If I set the error page to index.htm (which is processed by Webcatalog) I get this error messageError: template'iBook:Webserver:Webcatalog:StoreBuilder:evouchers1:easyshopping' notfoundError: template security preferences do not allow remote access tofiles with that extensionHow do I resolve this issue?ThanksPaulThanksPaul-----Original Message-----From: Paul Berman
To: (WebCatalog Talk)Date: Mon, 26 Aug 2002 19:03:38Subject: Re: Search as error page> Thats right but the server returns this crazy error> > Error: template> 'iBook:Webserver:Webcatalog:StoreBuilder:evouchers1:easyshopping' not> foundError: template security preferences do not allow remote access to> files with that extension> > This is coming from webcatalog somehow because if I use a page that is> not> processed by webcat it returns the page> > Thanks> paul> > > ----- Original Message -----> From: Inkblot Media > To: WebCatalog Talk > Sent: Monday, August 26, 2002 7:09 PM> Subject: Re: Search as error page> > > > Pedro is correct with the search context, but I think you are looking> at> > setting the 404 error page.> >> >> >> > ----- Original Message -----> > From: Pedro Rivera > > To: WebCatalog Talk > > Sent: Monday, August 26, 2002 9:45 AM> > Subject: Re: Search as error page> >> >> > > Just do a search context:> > >> > > [listwords words=[url][referrer][/url]&delimiters=/]> > > [text]searchterm=[word][/text]> > > [/listwords]> > > [search db=blah.db&woPageColumdata=[searchterm]]> > > [FoundItems]> > > Link to the related page.> > > [/FoundItems]> > > [/search]> > >> > > -----Original Message-----> > > From: Paul Berman [mailto:paul@ast.jagrove.com]> > > Sent: Monday, August 26, 2002 9:28 AM> > > To: WebDNA-Talk@talk.smithmicro.com> > > Subject: Re: Search as error page> > >> > >> > > Hi> > >> > > Nearly,> > >> > > What I need to do is have a page which I can set with the server> software> > as> > > a default error page.> > >> > > If you goto www.mycompany.com/myfriendscompany which doesnt exist> the> page> > > that is returned is the results of a search for myfriendscompany> > >> > > The code you posted gets the myfriendscompany as a value, how do I> set> the> > > search on the default error page to process and return the results> without> > > having to press the search or find buttons?> > >> > > I know it can be done its just I spent so long on this I cant think> > straight> > > (anymore)> > >> > > Thanks> > > paul> > > ----- Original Message -----> > > From: Brian Fries > > > To: WebCatalog Talk > > > Sent: Monday, August 26, 2002 5:50 PM> > > Subject: Re: Search as error page> > >> > >> > > > The easiest way to parse pieces from a url is with listwords:> > > >> > > > [listwords words=[url][referrer][/url]&delimiters=/]> > > > [text]searchterm=[word][/text]> > > > [/listwords]> > > >> > > > The variable searchterm now contains the last word from your> > > > referrer - company1 in your example below.> > > >> > > > Is this what you're looking for?> > > >> > > > - brian> > > >> > > > At 5:27 PM 8/26/02, Paul Berman wrote:> > > > >Hi> > > > >> > > > >I would like to set my default error page on the webserver as> > findme.htm> > > so> > > > >that it is processed by webcatalog as a search page.> > > > >> > > > >The findme.htm is a search for records from a company but using> the> > > > >[referer] field as the search field> > > > >> > > > >What i need is a search from the [referer] so that if I goto> > > > >> > > > >www.mywebsite.com/company1 the search searches the database for> > company1> > > > >> > > > >What is happening at the moment is that it searches> > > > >http://www.mywebsite.com/company1 so i need to strip off the> > > > >http://www.mywebsite.com/> > > > >> > > > >Any ideas?> > > >> > > > -------------------------------------------------------------> > > > This message is sent to you because you are subscribed to> > > > the mailing list .> > > > To unsubscribe, E-mail to: > > > > To switch to the DIGEST mode, E-mail to> > > > > > > Web Archive of this list is at: http://search.smithmicro.com/> > > >> > > >> > >> > >> > >> > > -------------------------------------------------------------> > > This message is sent to you because you are subscribed to> > > the mailing list .> > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to> > > > > > Web Archive of this list is at: http://search.smithmicro.com/> > >> > > -------------------------------------------------------------> > > This message is sent to you because you are subscribed to> > > the mailing list .> > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to> > > > > Web Archive of this list is at: http://search.smithmicro.com/> >> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > Web Archive of this list is at: http://search.smithmicro.com/> >> >> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
HiI am running Westar 4.1 as the server, error pages work when they are .html files but when I set an error page to a .htm file (which are handled by webcatalog) I get this errorIf I set the error page to say index.html I get the indexpage, If I set the error page to index.htm (which is processed by Webcatalog) I get this error messageError: template'iBook:Webserver:Webcatalog:StoreBuilder:evouchers1:easyshopping' notfoundError: template security preferences do not allow remote access tofiles with that extensionHow do I resolve this issue?ThanksPaulThanksPaul-----Original Message-----From: Paul Berman To: (WebCatalog Talk)Date: Mon, 26 Aug 2002 19:03:38Subject: Re: Search as error page> Thats right but the server returns this crazy error> > Error: template> 'iBook:Webserver:Webcatalog:StoreBuilder:evouchers1:easyshopping' not> foundError: template security preferences do not allow remote access to> files with that extension> > This is coming from webcatalog somehow because if I use a page that is> not> processed by webcat it returns the page> > Thanks> paul> > > ----- Original Message -----> From: Inkblot Media > To: WebCatalog Talk > Sent: Monday, August 26, 2002 7:09 PM> Subject: Re: Search as error page> > > > Pedro is correct with the search context, but I think you are looking> at> > setting the 404 error page.> >> >> >> > ----- Original Message -----> > From: Pedro Rivera > > To: WebCatalog Talk > > Sent: Monday, August 26, 2002 9:45 AM> > Subject: Re: Search as error page> >> >> > > Just do a search context:> > >> > > [listwords words=[url][referrer][/url]&delimiters=/]> > > [text]searchterm=[word][/text]> > > [/listwords]> > > [search db=blah.db&woPageColumdata=[searchterm]]> > > [founditems]> > > Link to the related page.> > > [/FoundItems]> > > [/search]> > >> > > -----Original Message-----> > > From: Paul Berman [mailto:paul@ast.jagrove.com]> > > Sent: Monday, August 26, 2002 9:28 AM> > > To: WebDNA-Talk@talk.smithmicro.com> > > Subject: Re: Search as error page> > >> > >> > > Hi> > >> > > Nearly,> > >> > > What I need to do is have a page which I can set with the server> software> > as> > > a default error page.> > >> > > If you goto www.mycompany.com/myfriendscompany which doesnt exist> the> page> > > that is returned is the results of a search for myfriendscompany> > >> > > The code you posted gets the myfriendscompany as a value, how do I> set> the> > > search on the default error page to process and return the results> without> > > having to press the search or find buttons?> > >> > > I know it can be done its just I spent so long on this I cant think> > straight> > > (anymore)> > >> > > Thanks> > > paul> > > ----- Original Message -----> > > From: Brian Fries > > > To: WebCatalog Talk > > > Sent: Monday, August 26, 2002 5:50 PM> > > Subject: Re: Search as error page> > >> > >> > > > The easiest way to parse pieces from a url is with listwords:> > > >> > > > [listwords words=[url][referrer][/url]&delimiters=/]> > > > [text]searchterm=[word][/text]> > > > [/listwords]> > > >> > > > The variable searchterm now contains the last word from your> > > > referrer - company1 in your example below.> > > >> > > > Is this what you're looking for?> > > >> > > > - brian> > > >> > > > At 5:27 PM 8/26/02, Paul Berman wrote:> > > > >Hi> > > > >> > > > >I would like to set my default error page on the webserver as> > findme.htm> > > so> > > > >that it is processed by webcatalog as a search page.> > > > >> > > > >The findme.htm is a search for records from a company but using> the> > > > >[referer] field as the search field> > > > >> > > > >What i need is a search from the [referer] so that if I goto> > > > >> > > > >www.mywebsite.com/company1 the search searches the database for> > company1> > > > >> > > > >What is happening at the moment is that it searches> > > > >http://www.mywebsite.com/company1 so i need to strip off the> > > > >http://www.mywebsite.com/> > > > >> > > > >Any ideas?> > > >> > > > -------------------------------------------------------------> > > > This message is sent to you because you are subscribed to> > > > the mailing list .> > > > To unsubscribe, E-mail to: > > > > To switch to the DIGEST mode, E-mail to> > > > > > > Web Archive of this list is at: http://search.smithmicro.com/> > > >> > > >> > >> > >> > >> > > -------------------------------------------------------------> > > This message is sent to you because you are subscribed to> > > the mailing list .> > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to> > > > > > Web Archive of this list is at: http://search.smithmicro.com/> > >> > > -------------------------------------------------------------> > > This message is sent to you because you are subscribed to> > > the mailing list .> > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to> > > > > Web Archive of this list is at: http://search.smithmicro.com/> >> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > Web Archive of this list is at: http://search.smithmicro.com/> >> >> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Paul
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Newbie problem blah blah blah (1997)
Bug Report, maybe (1997)
Sending mail (2001)
Webcat/Webmerchant part II (1998)
Not really WebCat - need HTML Grider (1997)
several .hdr files with one db file? (1999)
Trouble with formula.db (1997)
multi-paragraph fields (1997)
Merging databases (1997)
You are not allowed to change the price (2003)
Server crash (1997)
Whats wrong with this code? (1998)
Allowed fields in formulas.db (1998)
Looking for WebCatalog Programmer in Silicon Valley (1998)
WebCatalog Technical Reference (1997)
selecting multiple found items (1997)
Num Sort Descending (2004)
New Guestbook Source (1997)
Upgrading old WebCat Database Files (1997)
More than one db with the same namn (was: WC2f3) (1997)