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 = 108287
interpreted = N
texte = Tom, > ...is the form using an 'enctype' of 'multipart/form-data' ? no. just a regular ole form. You remind me that I do need to see what happens with = multipart/form-data.. and I'll report about that later, in case I do = not see a way to hack it quick and easy myself. Bill, > Can you change the form from POST to GET and see what happens? =20 When I change the form's method to GET, then the RewriteRule's = '%{REQUEST_URI}' *does* get passed into webdna space as [REQUEST_URI],=20= (via: RewriteRule ^(.*)$ index.dna?REQUEST_URI=3D%{REQUEST_URI} [L] ),=20 ..and the submitted formvars do come in via the URL.. but that is not = going to be a solution because we don't want GET method which sticks = everything in the URL ;-) ... and also not going to work for other = reasons specific to the code I am working on.. which is not worth = explaining just here/now. > I suspect you may be right about the POSTed information not being = passed in the rewrite but that seems odd to me. =20 well it is the other way around; the form-POSTed data DOES get passed, = but the [REQUEST_URI], (via: RewriteRule ^(.*)$ index.dna?REQUEST_URI=3D%{REQUEST_URI} [L] ),=20 ...does NOT get passed. =20 IOW, if I have a form input like so in my form: then inside the landing page's = [formvariables][name]=3D[vaue][/formvariables] context, I see: "hello=3Dworld" but I do NOT see "REQUEST_URI=3D((the URL we posted to))" There is no [REQUEST_URI] var at all. My original question: Is there something like %{REQUEST_URI} in apache directives.. but which = is automagically populated by *either* %{REQUEST_URI}, or else by the = pre-RewriteRule URL segments (after the domain) *upon form post*? =20 Thanks guys, -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)
Tom, > ...is the form using an 'enctype' of 'multipart/form-data' ? no. just a regular ole form. You remind me that I do need to see what happens with = multipart/form-data.. and I'll report about that later, in case I do = not see a way to hack it quick and easy myself. Bill, > Can you change the form from POST to GET and see what happens? =20 When I change the form's method to GET, then the RewriteRule's = '%{REQUEST_URI}' *does* get passed into webdna space as [REQUEST_URI],=20= (via: RewriteRule ^(.*)$ index.dna?REQUEST_URI=3D%{REQUEST_URI} [L] ),=20 ..and the submitted formvars do come in via the URL.. but that is not = going to be a solution because we don't want GET method which sticks = everything in the URL ;-) ... and also not going to work for other = reasons specific to the code I am working on.. which is not worth = explaining just here/now. > I suspect you may be right about the POSTed information not being = passed in the rewrite but that seems odd to me. =20 well it is the other way around; the form-POSTed data DOES get passed, = but the [REQUEST_URI], (via: RewriteRule ^(.*)$ index.dna?REQUEST_URI=3D%{REQUEST_URI} [L] ),=20 ...does NOT get passed. =20 IOW, if I have a form input like so in my form: then inside the landing page's = [formvariables][name]=3D[vaue][/formvariables] context, I see: "hello=3Dworld" but I do NOT see "REQUEST_URI=3D((the URL we posted to))" There is no [REQUEST_URI] var at all. My original question: Is there something like %{REQUEST_URI} in apache directives.. but which = is automagically populated by *either* %{REQUEST_URI}, or else by the = pre-RewriteRule URL segments (after the domain) *upon form post*? =20 Thanks guys, -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:

A multi-processor savvy WebCatalog? (1997) Weird error message (2002) WebCat2b13MacPlugIn - More limits on [include] (1997) WebCat2: Formulas.db question (1997) Big Databases (1997) Ruby on Rails (was Looping Search) (2006) looking for developers with solutions (2000) [WebDNA] calling a webDNA tmpl from PHP? (2008) Encrypt broken on Mac 3.05b13?? (2000) BIG PROBLEMS with Checkboxes!!! (1998) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) more on the Shipcost update problem (1997) multi-paragraph fields (1997) 2.1b3 --> way slow (1997) Error 11 (1996) Rhapsody? (1997) verify online (1997) Nested tags count question (1997) Copyright ? (1997) Stopping bad HTML propagation ? (1997)