Re: Extracting URL

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68819
interpreted = N
texte = Dan Because there is no .html page specified in the url, IIS flicks through to the default 404 error. If the url specified an .html page, it would be handled with webdna's errormessages.db. Stuart On 12 Apr 2007, at 8:19 PM, Dan Strong wrote: > Stuart, > > Is it not possible to use the ErrorMessages.db "mod-rewrite trick" > to parse 'acl-contact-lenses' out of the URL using [listwords] then > re-direct accordingly, or am I missing something basic in your post? > > -Dan > > > On Thu, 12 Apr 2007 15:32:45 +1000 > Stuart Tremain wrote: >> This is a problem that I have been trying to solve for a few years >> on and off. >> IIS v6 server WebDNA v6 >> The url: >> http://dev.opsmdirect.com.au/acl-contact-lenses/ >> Notice that the url does not have 'filename.html' at the end - >> these I can deal with in the ErrorMessages.db >> My problem is a missing directory and capturing the 'acl-contact- >> lenses' part. >> IIS gives me the ability to have the default 404 error page >> or redirect to a page of my choosing >> or a static page of my own >> The static page does not get passed through the webdna engine so >> webdna tags are useless >> if I redirect, in this case to test.html there is no WebDNA tags >> that capture the 'acl-contact-lenses' part >> Is there another method ? Javascript ? PHP ? >> If I can capture 'acl-contact-lenses' I can then use it to my >> advantage. >> Regards >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Extracting URL ( Stuart Tremain 2007)
  2. Re: Extracting URL ( "WebDna @ Inkblot Media" 2007)
  3. Re: Extracting URL ( Stuart Tremain 2007)
  4. Re: Extracting URL ( "WebDna @ Inkblot Media" 2007)
  5. Re: Extracting URL ( Stuart Tremain 2007)
  6. Re: Extracting URL ( "Dan Strong" 2007)
  7. Re: Extracting URL ( Stuart Tremain 2007)
  8. Re: Extracting URL ( Matthew A Perosi 2007)
  9. Re: Extracting URL ( Stuart Tremain 2007)
  10. Re: Extracting URL ( Stuart Tremain 2007)
  11. Re: Extracting URL ( Matthew A Perosi 2007)
  12. Re: Extracting URL ( Stuart Tremain 2007)
  13. Extracting URL ( Stuart Tremain 2007)
Dan Because there is no .html page specified in the url, IIS flicks through to the default 404 error. If the url specified an .html page, it would be handled with webdna's errormessages.db. Stuart On 12 Apr 2007, at 8:19 PM, Dan Strong wrote: > Stuart, > > Is it not possible to use the ErrorMessages.db "mod-rewrite trick" > to parse 'acl-contact-lenses' out of the URL using [listwords] then > re-direct accordingly, or am I missing something basic in your post? > > -Dan > > > On Thu, 12 Apr 2007 15:32:45 +1000 > Stuart Tremain wrote: >> This is a problem that I have been trying to solve for a few years >> on and off. >> IIS v6 server WebDNA v6 >> The url: >> http://dev.opsmdirect.com.au/acl-contact-lenses/ >> Notice that the url does not have 'filename.html' at the end - >> these I can deal with in the ErrorMessages.db >> My problem is a missing directory and capturing the 'acl-contact- >> lenses' part. >> IIS gives me the ability to have the default 404 error page >> or redirect to a page of my choosing >> or a static page of my own >> The static page does not get passed through the webdna engine so >> webdna tags are useless >> if I redirect, in this case to test.html there is no WebDNA tags >> that capture the 'acl-contact-lenses' part >> Is there another method ? Javascript ? PHP ? >> If I can capture 'acl-contact-lenses' I can then use it to my >> advantage. >> Regards >> Stuart Tremain >> idfk web developments >> 114a/40 yeo street neutral bay 2089 australia >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/ Stuart Tremain

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:

RE: protect tag on NT (1997) [WebDNA] [redirect] include a value to pass along? (2010) unique ID (1997) Where is the bug fix info for 4.0.1? (2000) Multiple Newcarts (1996) using showpage and showcart commands (1996) Pre-flight public flag (1997) Re[2]: Base64 encryption limitations? (1999) Still Stumped on ShowNext...HELP! (1997) [convertChars] and in a textarea on a form (1998) RE: IIS4b2 and WebCatalog b19 (1997) Fun with Dates - finally resolved but.... (1997) execute webdna search in an iframe via javascript (2003) Moment of Thanks (1997) WC2.0 Memory Requirements (1997) Confused about Grep Syntax (2004) Instructions for Digest (1997) Multiple Users.db Possible? (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Firesite and [referrer] atg broke (1997)