Re: [WebDNA] Different results for [THISURL]
This WebDNA talk-list message is from 2018
It keeps the original formatting.
numero = 114461
interpreted = N
texte = 2080Hi Stuart! yes, we fixed it. We are testing the Windows version for the =slash - reverse slash bug and we will release an 8.6.3 very soon.> On Nov 9, 2018, at 13:20, Stuart Tremain
=wrote:>=20> Hi Chris>=20> Any movement on this ?>=20>=20> Kind regards>=20> Stuart Tremain> Pharoah Lane Software> AUSTRALIA> webdna@plsoftware.com.au>=20>=20>=20>=20>=20>=20>=20>> On 8 Oct 2018, at 16:54, christophe.billiottet@webdna.us wrote:>>=20>> Hi Stuart,>>=20>> yes, I think this should be fixed, the behavior isn=E2=80=99t =consistent when mod_rewrite rules are involved.>>=20>> I wonder if you have it backwards though, I guess the FastCGI version =always shows /department/category because it generates THISURL from the =REQUEST_URI parameter, and this should be the original URL without the =domain name in front.>>=20>> Whereas, the Server version's module uses Apache's =request_rec->unparsed_uri. The issue I'm seeing is that unparsed_uri =will be /department/category if your mod_rewrite rules are in your main =apache config files. But if you have your mod_rewrite rules in a =..htaccess file, then Apache generates a new request and it puts the =rewritten URL (/dept-root/cat-page.html) in unparsed_uri.>>=20>> I think the solution would be to adjust the Server module to always =generate THISURL from the raw request. We will do it.>>=20>> If you see /dept-root/cat-page.html with the FastCGI version, then I =would be interested in knowing if you are using Apache+mod_fcgid or =something else. We could not reproduce this with latest WebDNA =FastCGI+Apache+mod_fcgid on Ubuntu.>>=20>> kind regards,>>=20>> - chris>>=20>>> On Oct 5, 2018, at 02:32, Stuart Tremain =wrote:>>>=20>>> I am getting different results for [THISURL] on different platforms.>>>=20>>> http://www.domain.com/department/category>>>=20>>>=20>>> CentOS Server WebDNA 8.5>>> ThisURL =3D /department/category>>>=20>>>=20>>> Ubuntu fcgi WebDNA 8.5>>> ThisURL =3D /dept-root/cat-page.html>>>=20>>> Any idea why this would happen?>>>=20>>> Is there a work around ?>>>=20>>>=20>>>=20>>>=20>>>=20>>> Kind regards>>>=20>>> Stuart Tremain>>> Pharoah Lane Software>>> AUSTRALIA>>> webdna@plsoftware.com.au---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
2080Hi Stuart! yes, we fixed it. We are testing the Windows version for the =slash - reverse slash bug and we will release an 8.6.3 very soon.> On Nov 9, 2018, at 13:20, Stuart Tremain =wrote:>=20> Hi Chris>=20> Any movement on this ?>=20>=20> Kind regards>=20> Stuart Tremain> Pharoah Lane Software> AUSTRALIA> webdna@plsoftware.com.au>=20>=20>=20>=20>=20>=20>=20>> On 8 Oct 2018, at 16:54, christophe.billiottet@webdna.us wrote:>>=20>> Hi Stuart,>>=20>> yes, I think this should be fixed, the behavior isn=E2=80=99t =consistent when mod_rewrite rules are involved.>>=20>> I wonder if you have it backwards though, I guess the FastCGI version =always shows /department/category because it generates THISURL from the =REQUEST_URI parameter, and this should be the original URL without the =domain name in front.>>=20>> Whereas, the Server version's module uses Apache's =request_rec->unparsed_uri. The issue I'm seeing is that unparsed_uri =will be /department/category if your mod_rewrite rules are in your main =apache config files. But if you have your mod_rewrite rules in a =..htaccess file, then Apache generates a new request and it puts the =rewritten URL (/dept-root/cat-page.html) in unparsed_uri.>>=20>> I think the solution would be to adjust the Server module to always =generate THISURL from the raw request. We will do it.>>=20>> If you see /dept-root/cat-page.html with the FastCGI version, then I =would be interested in knowing if you are using Apache+mod_fcgid or =something else. We could not reproduce this with latest WebDNA =FastCGI+Apache+mod_fcgid on Ubuntu.>>=20>> kind regards,>>=20>> - chris>>=20>>> On Oct 5, 2018, at 02:32, Stuart Tremain =wrote:>>>=20>>> I am getting different results for [thisurl] on different platforms.>>>=20>>> http://www.domain.com/department/category>>>=20>>>=20>>> CentOS Server WebDNA 8.5>>> ThisURL =3D /department/category>>>=20>>>=20>>> Ubuntu fcgi WebDNA 8.5>>> ThisURL =3D /dept-root/cat-page.html>>>=20>>> Any idea why this would happen?>>>=20>>> Is there a work around ?>>>=20>>>=20>>>=20>>>=20>>>=20>>> Kind regards>>>=20>>> Stuart Tremain>>> Pharoah Lane Software>>> AUSTRALIA>>> webdna@plsoftware.com.au---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
christophe.billiottet@webdna.us
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:
WebCat2.0b15-to many nested [xx] tags (1997)
Test (2007)
OT: Unix Find Question (2004)
New site announcement + Showing once on a founditems (1997)
Multiple Stores and WebCatalog Prefs (1997)
Misc Stuff That Might Help (1997)
Emailer help....! (1997)
RE: LookUp Tag (1997)
Country & Ship-to address & other fields ? (1997)
The Form authentication trick (2000)
WC 2.0 frames feature (1997)
[convertChars] and in a textarea on a form (1998)
WebCat and search engines (1998)
Verifying both name and password (was: New Problem) (1997)
WebCatalog for guestbook ? (1997)
WCS Newbie question (1997)
Avery 5160 Mailing Labels (2003)
Using Plug-In while running 1.6.1 (1997)
WebCat2: Items xx to xx shown, etc. (1997)
U&P IIS concept (1998)