URL problem
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68406
interpreted = N
texte = Here's my problem:I want to have WebDNA intercept a request for a missing page, and be able to get information from the URL for the missing page, and I want to be able to do it without .htm, .tpl, or any other extension on the URLI need to be able to enter http://domain.com/some_data_hereI know how to use a couple of [listwords] contexts to parse out the words "some" "data" and "here" from the URL, so that part is done. The only part that's kicking my #!@ is getting a request for a bad URL to get handled by WebDNA.Ideally, I'd just like to set Apache to redirect the 404 error to the site index page, but also include the original URL that the user typed and a variable.If I set up apache to redirect the 404 error to index.tpl, [referrer] on index.tpl only displays "[referrer]"Can anyone help me with this?-------------------------------------------------------------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:
Here's my problem:I want to have WebDNA intercept a request for a missing page, and be able to get information from the URL for the missing page, and I want to be able to do it without .htm, .tpl, or any other extension on the URLI need to be able to enter http://domain.com/some_data_hereI know how to use a couple of [listwords] contexts to parse out the words "some" "data" and "here" from the URL, so that part is done. The only part that's kicking my #!@ is getting a request for a bad URL to get handled by WebDNA.Ideally, I'd just like to set Apache to redirect the 404 error to the site index page, but also include the original URL that the user typed and a variable.If I set up apache to redirect the 404 error to index.tpl, [referrer] on index.tpl only displays "[referrer]"Can anyone help me with this?-------------------------------------------------------------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/
Pat McCormick
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:
PCS Emailer's role ? (1997)
[OT] Display Glitch (2004)
webcat 2.1 new cart fields - please explain more (1998)
[WebDNA] TCPConnect example doesn't work (2017)
Append - form based command (1999)
Summing a field full of numbers ... (1997)
Help formatting search results w/ table (1997)
Spawn doesn't work as advertised ... (2000)
Protecting Images (2003)
SandBox and ImageMagick (2003)
gateway application timeouts (1998)
Random ads (1998)
Practice runs ? (1997)
Multiple Unique SKUs (2000)
WebCat2 - [format thousands] (1997)
Applescript, WebDNA, and PDF (1997)
Db design question (relational vs. flat?) (1998)
Another question about credit cards (1997)
sendmail and CGatePro - Not working (2003)
what does [url] copy [/url] really do? (2000)