Re: Extracting URL

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68802
interpreted = N
texte = Here is an idea, I just need the JS to work - any help much appreciated I have iis redirecting to a WebDNA page test.html, on this page I have the following JS which works to the point of redirecting but not carrying the 'document.url' I understand the client side nature of JS but is there a way of inserting the 'document.URL' into the redirect ? On 12 Apr 2007, at 3:32 PM, 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 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)
Here is an idea, I just need the JS to work - any help much appreciated I have iis redirecting to a WebDNA page test.html, on this page I have the following JS which works to the point of redirecting but not carrying the 'document.url' I understand the client side nature of JS but is there a way of inserting the 'document.URL' into the redirect ? On 12 Apr 2007, at 3:32 PM, 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 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:

Am I going senile? (Price recalc based on quantity) (1997) off topic - dna snipets (1997) [ShowIf] if the varieable exists (1998) Forms Search Questions (1997) Anyone using unix? Having problems... (2000) notification solutions (1997) Date stamp and purging (1998) WebCatalog [FoundItems] Problem - LONG - (1997) FYI: virus alert (1996) RE: Multiple Stores and WebCatalog Prefs (1997) GuestBook example (1997) Fulfillment e-mail? (1998) New Featured Site (1999) Forms Search Questions (1997) Another bug to squash (WebCat2b13 Mac .acgi) (1997) carriage returns in data (1997) Only charge card when product shipped ? (1997) [TaxableTotal] - not working with AOL and IE (1997) FlushDatabase Suggestion (1998) Fun with dates (1997)