Re: URL problem

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68409
interpreted = N
texte = I the prefs set to process every page. On Feb 4, 2007, at 5:06 PM, Stuart Tremain wrote: > you may need in your page. > > > On 05 Feb 2007, at 8:20 AM, Pat McCormick wrote: > >> 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 URL >> >> I need to be able to enter http://domain.com/some_data_here >> >> I 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 > 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: URL problem ( Pat McCormick 2007)
  2. Re: URL problem ( Donovan Brooke 2007)
  3. Re: URL problem ( "Dan Strong" 2007)
  4. Re: URL problem ( Pat McCormick 2007)
  5. Re: URL problem ( "Tom Duke" 2007)
  6. Re: URL problem ( Pat McCormick 2007)
  7. Re: URL problem ( Stuart Tremain 2007)
  8. Re: URL problem ( Pat McCormick 2007)
  9. Re: URL problem ( Pat McCormick 2007)
  10. Re: URL problem ( Pat McCormick 2007)
  11. Re: URL problem ( "Tom Duke" 2007)
  12. Re: URL problem ( Stuart Tremain 2007)
  13. URL problem ( Pat McCormick 2007)
  14. Strange variable in url problem... (Jimmi Kristensen 2001)
I the prefs set to process every page. On Feb 4, 2007, at 5:06 PM, Stuart Tremain wrote: > you may need in your page. > > > On 05 Feb 2007, at 8:20 AM, Pat McCormick wrote: > >> 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 URL >> >> I need to be able to enter http://domain.com/some_data_here >> >> I 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 > 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/ 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:

Add to Cart & List of Products (1997) [ShowIf] and empty fields (1997) Unceremonious Unwanted Unsubscription (1999) File Upload (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) [WebDNA] [session] (2018) Add a field to the error log? (1997) The word TYPE in search contexts and fields (1998) pictures / referrer etc. (1998) stats (2001) Only charge card when product shipped ? (1997) Updating a database once per day - An example (1998) Migrating to NT (1997) WebCat2b12--[searchstring] bug (1997) Error, 101 a DNS problem ? (1997) WebCat2: Found Items syntax, etc. (1997) Emailer or [sendmail] questions ... (1998) Searchable list archive (1997) splitting numbers in webDNA? (1997) Resume Catalog ? (1997)