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

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108142
interpreted = N
texte = Hi Everyone, On my local dev Mac OS 10.6 Webdna v.7 setup, using Apache with = mod_rewrite .. I have a site that uses .htaccess to create a = 'RewriteBase' and a couple 'RewriteRule's. 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 would you expect to happen? =20 Does anyone know what *should* happen, or what I can expect to normally = happen in default webdna/apache installs? =20 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? Thanks for any thoughts/pointers, -Govinda= 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 Everyone, On my local dev Mac OS 10.6 Webdna v.7 setup, using Apache with = mod_rewrite .. I have a site that uses .htaccess to create a = 'RewriteBase' and a couple 'RewriteRule's. 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 would you expect to happen? =20 Does anyone know what *should* happen, or what I can expect to normally = happen in default webdna/apache installs? =20 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? Thanks for any thoughts/pointers, -Govinda= Govinda

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:

Search on encrypted field (2000) Sort Order on a page search (1997) Document Contains No Data! (1997) TCP Connect code for SMTP transaction (2004) who are you people (1998) CART question (2004) Simple and Direct Question for SMSI (2002) Webstar 1.3.1 PPC (1997) WCS Newbie question (1997) [WAY OFF TOPIC] anybody live in Kansas? (2003) The Mysterious '<' (1998) Using Applescript to process WebCatalog functions (1998) webcat- multiple selection in input field (1997) Buying sans cart (1997) bug report -- leading < character (1998) Troubles with Selection Drop Down List Search (1998) WebCat2b13MacPlugIn - [include] (1997) [WebDNA] PayPal Integration (2017) WebDNA-Talk Digest mode broken (1997) drop down selection list for a search (1998)