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 = 108163
interpreted = N
texte = > Govinda wrote:>> [snip] local dev Mac OS 10.6 Webdna v.7> [snip]> [thisurl] reflects the URL that I actually typed in the browser..>=20>=20> friends: unix-Macintosh OS X, version=3D6.0> [thisurl] reflects where the RewriteRule redirected the browser to>=20>=20>=20> Confirmed. (in any apache *nix WebDNA 6x, [thisurl] reflects the =second URL.. so the behavior of [thisurl] has changed in Vers. 7)>=20> DonovanI *think* Donovan is saying that:[thisurl] in Webdna_v.6 reflects the URL *after* any Apache =mod_rewrite RewriteRule[thisurl] in Webdna_v.7 reflects the URL *before* any Apache =mod_rewrite RewriteRuleDonovan, are you saying you confirmed this with your Webdna_v.6, or with =your Webdna_v.7, or both ?I have confirmed this behavior with a couple copies of Webdna_v.6, but =ONLY with my ONE local copy of Webdna_v.7.If we can confirm this behavior with another copy/install of Webdna_v.7, =then I think it safe to say that it means the framework I wrote for the =community (about to show here on the list) is going to work fine with =Webdna_v.7, in general. Great! But please confirm that:[thisurl] in Webdna_v.7 reflects the URL *before* any Apache =mod_rewrite RewriteRuleIn this case ^^^ , I would say this is a good thing! Then Chris, please =do NOT change [thisurl] to go back to the way it is in Webdna_v.6!Meanwhile I am still wondering if *Apache* can be configured to alter =the output of [thisurl], regardless of the version of Webdna... See =my post of last night about how different PHP variables will return =different values.. one reflects the URL *before* any Apache mod_rewrite =RewriteRule, while another reflects the URL *after* any Apache =mod_rewrite RewriteRule.. so it means to me that apache can pass along =ALL the data... so perhaps there are ways to tinker with it.-Govinda=
Associated Messages, from the most recent to the oldest:
> Govinda wrote:>> [snip] local dev Mac OS 10.6 Webdna v.7> [snip]>
[thisurl] reflects the URL that I actually typed in the browser..>=20>=20> friends: unix-Macintosh OS X, version=3D6.0>
[thisurl] reflects where the RewriteRule redirected the browser to>=20>=20>=20> Confirmed. (in any apache *nix WebDNA 6x,
[thisurl] reflects the =second URL.. so the behavior of
[thisurl] has changed in Vers. 7)>=20> DonovanI *think* Donovan is saying that:
[thisurl] in Webdna_v.6 reflects the URL *after* any Apache =mod_rewrite RewriteRule
[thisurl] in Webdna_v.7 reflects the URL *before* any Apache =mod_rewrite RewriteRuleDonovan, are you saying you confirmed this with your Webdna_v.6, or with =your Webdna_v.7, or both ?I have confirmed this behavior with a couple copies of Webdna_v.6, but =ONLY with my ONE local copy of Webdna_v.7.If we can confirm this behavior with another copy/install of Webdna_v.7, =then I think it safe to say that it means the framework I wrote for the =community (about to show here on the list) is going to work fine with =Webdna_v.7, in general. Great! But please confirm that:
[thisurl] in Webdna_v.7 reflects the URL *before* any Apache =mod_rewrite RewriteRuleIn this case ^^^ , I would say this is a good thing! Then Chris, please =do NOT change
[thisurl] to go back to the way it is in Webdna_v.6!Meanwhile I am still wondering if *Apache* can be configured to alter =the output of
[thisurl], regardless of the version of Webdna... See =my post of last night about how different PHP variables will return =different values.. one reflects the URL *before* any Apache mod_rewrite =RewriteRule, while another reflects the URL *after* any Apache =mod_rewrite RewriteRule.. so it means to me that apache can pass along =ALL the data... so perhaps there are ways to tinker with it.-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:
Problems getting parameters passed into email. (1997)
Major bug report on rootbeer (1997)
Bug or syntax error on my part? (1997)
RE: [WebDNA] Webstar (2008)
Calculating multiple shipping... (1997)
?The parameter is incorrect.? (2006)
Review comparison by PC Magazine: Open for On-line Business (1997)
WC1.6 to WC2 date formatting (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Document Contains no data, or showcart error. (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Re:no template caching (1997)
Problem with [math] (2000)
RE: AccountAuthorizer doesn't seem to work (1997)
Subtotal help (1997)
RequiredFields template (1997)
Credit Card Number checking (1997)
FlushDatabase Suggestion (1998)
OK to delete records while finding them? (2000)