[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) . =20What would you expect to happen? =20Does anyone know what *should* happen, or what I can expect to normally =happen in default webdna/apache installs? =20Does 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:
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) . =20What would you expect to happen? =20Does anyone know what *should* happen, or what I can expect to normally =happen in default webdna/apache installs? =20Does 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:
Strange Form Occurrence on Log In Pages (2005)
weight based shipping cost questions (1997)
Stumpted Again (1997)
groups and [ShowNext] (1997)
Converting Quotes in Javascript (2001)
Help formatting search results w/ table (1997)
New Web Site Developers Database (1996)
dreamweaver (2000)
Upgrade to MacOS9 and W*4.1 (1999)
[url] (1997)
WebMechant (2000)
flushdatabases (2000)
Line items in table cells (1997)
UPDATE PROBLEM (1997)
Re[2]: Monthly Reports (2000)
WebCatalog on Linux (2000)
Re:Searching for ALL / empty form field *the FINAL answer* (1997)
multiple search of same field (1999)
[WebDNA] Does anyone have newer PDF generator code than what (2009)
How far do [showif]s go? (1997)