[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:

[group] ? (1997) WebCatalog can't find database (1997) Credit card types (1997) Help with Shipping Costs (1997) WebCat2 Append problem (B14Macacgi) (1997) day of year (2001) Shownext never shows next...still (1997) Generating Options for a Form. (1997) Search design (1997) WebCatalog 3 manual (1998) [WebDNA] Search encrypted field (2015) Showif date range comparison (1999) variables in template (2000) is sku a REQUIRED field on NT (1997) search form problem.. (1997) Summing fields (1997) no global [username] or [password] displayed ... (1997) RE: NewCart+Search with one click ? (1997) Animation/Flash (2002) How do I get WebCatalog to interpret WebDNA tags in.html files? (1997)