Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite'

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108143
interpreted = N
texte = Hi Govinda! > When I put webdna's [thisurl] tag into a .dna template that webdna = parses.. then (desired behavior) the output of [thisurl] reflects the = URL that I actually typed in the browser.. and NOT where the RewriteRule = redirected the browser to. But on a friend's remote server, where we = are working together, the inverse is happening - i.e. the output of = [thisurl] reflects where the RewriteRule redirected the browser to, as = opposed to the URL that I actually typed in the browser (NOT desired = behavior) . =20 what is the WebDNA version of your friend's server? Try this: [function name=3DCALL_DOMAIN][return][listmimeheaders = name=3Dhost&exact=3DF][url][value][/url][/listmimeheaders][/return][/funct= ion] [CALL_DOMAIN] > Does anyone know a way to cause the output of [thisurl] to always = reflect the URL that I actually type in the browser.. and NOT where the = RewriteRule redirects the browser to? i suppose it depends if the apache module mod_rewrite processes the URL = before or after WebDNA does - chris Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Tom Duke 2012)
  2. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  3. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Tom Duke 2012)
  4. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  5. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (William DeVaul 2012)
  6. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Tom Duke 2012)
  7. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  8. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (William DeVaul 2012)
  9. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  10. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  11. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (William DeVaul 2012)
  12. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  13. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Tom Duke 2012)
  14. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  15. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (William DeVaul 2012)
  16. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (William DeVaul 2012)
  17. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Donovan Brooke 2012)
  18. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  19. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Donovan Brooke 2012)
  20. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (William DeVaul 2012)
  21. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  22. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Donovan Brooke 2012)
  23. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  24. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  25. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (William DeVaul 2012)
  26. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
  27. Re: [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (christophe.billiottet@webdna.us 2012)
  28. [WebDNA] behavior of [thisurl] in the context of 'mod_rewrite' (Govinda 2012)
Hi Govinda! > When I put webdna's [thisurl] tag into a .dna template that webdna = parses.. then (desired behavior) the output of [thisurl] reflects the = URL that I actually typed in the browser.. and NOT where the RewriteRule = redirected the browser to. But on a friend's remote server, where we = are working together, the inverse is happening - i.e. the output of = [thisurl] reflects where the RewriteRule redirected the browser to, as = opposed to the URL that I actually typed in the browser (NOT desired = behavior) . =20 what is the WebDNA version of your friend's server? Try this: [function name=3DCALL_DOMAIN][return][listmimeheaders = name=3Dhost&exact=3DF][url][value][/url][/listmimeheaders][/return][/funct= ion] [CALL_DOMAIN] > Does anyone know a way to cause the output of [thisurl] to always = reflect the URL that I actually type in the browser.. and NOT where the = RewriteRule redirects the browser to? i suppose it depends if the apache module mod_rewrite processes the URL = before or after WebDNA does - chris christophe.billiottet@webdna.us

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:

Pull Down Search (2000) Nested tags count question (1997) This list needs a digest: rant, rave... (1997) [shell] (2005) Personal Web Server combined with Webcatalog 2.1 (1998) RE: Missing contexts on NT (1997) Showif? (2000) Sort Order on a page search (1997) Date Calulation (1997) WCS Newbie question (1997) Just a thought (1998) problem serving foreign languages text (1997) Problems with webcat 2.01 for NT (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Re:no [search] with NT (1997) RE: Dates! (1998) showif and cart (1997) Apache2 + WebCatalog 4.5.1 requires username/password (2003) Possible Bug in 2.0b15.acgi (1997) Emailer (1997)