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