Re: Extracting URL
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68811
interpreted = N
texte = 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?-DanOn 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 > 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:
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?-DanOn 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 > 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/
"Dan Strong"
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:
Exclamation point (1997)
createfolder not behaving as expected (1999)
[SQL] on MacOs to SQL Server ... HOW TO? (2000)
Here we go again...WebDNA - SQL- Clustering (2006)
[shell] (2003)
Need relative path explanation (1997)
WebCat2: Items xx to xx shown, etc. (1997)
[numfound] for [listfiles] (1998)
Strange Search Results (2004)
Shell script within a sandbox (2005)
WebCatalog and Macromedia Flash (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Constructive criticism (2000)
Looking for a Manual (1997)
Exclamation point (1997)
Proposed FormVariables hierarchy (2000)
[WebDNA] HTML Symbol Entities (2009)
nested showif? (1998)
Return records from another (1997)
Bug or syntax error on my part? (1997)