Re: [WebDNA] Different results for [THISURL]
This WebDNA talk-list message is from 2018
It keeps the original formatting.
numero = 114432
interpreted = N
texte = 2051Hi ChisI do need an urgent fix for a new install.=20RegardsStuart TremainPharoah Lane Software=207/76 Reserve Road=20Artarmon NSW 2064AUSTRALIA+612 8971 4431> On 13 Oct 2018, at 3:03 am, christophe.billiottet@webdna.us wrote:>=20> Sorry Stuart, I was replying to the Mojave question. The previous message w=as hidden in my emailer.>=20> I don=E2=80=99t know yet when it will be available. If you need an urgent f=ix, we can do it.>=20> - chris>=20>=20>>=20>>> On Oct 12, 2018, at 12:38, Stuart Tremain
wro=te:>>>=20>>> Thanks for the explanation on what is happening here.=20>>>=20>>> Are there any work arounds or when do you think that this may be availab=le in the server edition?>>>=20>>> Regards>>> Stuart Tremain>>>=20>>> Pharoah Lane Software=20>>> 7/76 Reserve Road=20>>> Artarmon NSW 2064>>> AUSTRALIA>>> +612 8971 4431>>>=20>>>> On 8 Oct 2018, at 4:54 pm, christophe.billiottet@webdna.us wrote:>>>>=20>>>> Hi Stuart,>>>>=20>>>> yes, I think this should be fixed, the behavior isn=E2=80=99t consisten=t when mod_rewrite rules are involved.>>>>=20>>>> I wonder if you have it backwards though, I guess the FastCGI version a=lways shows /department/category because it generates THISURL from the REQUE=ST_URI parameter, and this should be the original URL without the domain nam=e in front.>>>>=20>>>> Whereas, the Server version's module uses Apache's request_rec->unparse=d_uri. The issue I'm seeing is that unparsed_uri will be /department/categor=y 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 ne=w request and it puts the rewritten URL (/dept-root/cat-page.html) in unpars=ed_uri.>>>>=20>>>> I think the solution would be to adjust the Server module to always gen=erate THISURL from the raw request. We will do it.>>>>=20>>>> If you see /dept-root/cat-page.html with the FastCGI version, then I wo=uld be interested in knowing if you are using Apache+mod_fcgid or something e=lse. We could not reproduce this with latest WebDNA FastCGI+Apache+mod_fcgid= on Ubuntu.>>>>=20>>>> kind regards,>>>>=20>>>> - chris>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55> Bug Reporting: support@webdna.us---------------------------------------------------------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:
2051Hi ChisI do need an urgent fix for a new install.=20RegardsStuart TremainPharoah Lane Software=207/76 Reserve Road=20Artarmon NSW 2064AUSTRALIA+612 8971 4431> On 13 Oct 2018, at 3:03 am, christophe.billiottet@webdna.us wrote:>=20> Sorry Stuart, I was replying to the Mojave question. The previous message w=as hidden in my emailer.>=20> I don=E2=80=99t know yet when it will be available. If you need an urgent f=ix, we can do it.>=20> - chris>=20>=20>>=20>>> On Oct 12, 2018, at 12:38, Stuart Tremain wro=te:>>>=20>>> Thanks for the explanation on what is happening here.=20>>>=20>>> Are there any work arounds or when do you think that this may be availab=le in the server edition?>>>=20>>> Regards>>> Stuart Tremain>>>=20>>> Pharoah Lane Software=20>>> 7/76 Reserve Road=20>>> Artarmon NSW 2064>>> AUSTRALIA>>> +612 8971 4431>>>=20>>>> On 8 Oct 2018, at 4:54 pm, christophe.billiottet@webdna.us wrote:>>>>=20>>>> Hi Stuart,>>>>=20>>>> yes, I think this should be fixed, the behavior isn=E2=80=99t consisten=t when mod_rewrite rules are involved.>>>>=20>>>> I wonder if you have it backwards though, I guess the FastCGI version a=lways shows /department/category because it generates THISURL from the REQUE=ST_URI parameter, and this should be the original URL without the domain nam=e in front.>>>>=20>>>> Whereas, the Server version's module uses Apache's request_rec->unparse=d_uri. The issue I'm seeing is that unparsed_uri will be /department/categor=y 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 ne=w request and it puts the rewritten URL (/dept-root/cat-page.html) in unpars=ed_uri.>>>>=20>>>> I think the solution would be to adjust the Server module to always gen=erate THISURL from the raw request. We will do it.>>>>=20>>>> If you see /dept-root/cat-page.html with the FastCGI version, then I wo=uld be interested in knowing if you are using Apache+mod_fcgid or something e=lse. We could not reproduce this with latest WebDNA FastCGI+Apache+mod_fcgid= on Ubuntu.>>>>=20>>>> kind regards,>>>>=20>>>> - chris>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55> Bug Reporting: support@webdna.us---------------------------------------------------------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.
Stuart Tremain
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:
Clean Code: Rules for inserting keyboard returns? (1997)
Spawn not working (1999)
Thanks and Big News!!! (1997)
A better WebCat whois (was [OT] Domain Name Scam) (2000)
Interfacing WebMerchant to www.fedex.com (1997)
Emailer [cart] file names (1997)
Emailer problem....still (1997)
Sorting a [listfiles] (2003)
Trouble starting WC under OSX (2001)
[subtotal] problems -- help? (1998)
Include a big block of text (1997)
back button loses cart (2000)
Updating a database once per day - An example (1998)
Error Lob.db records error message not name (1997)
WebCat 5 Intranet Question (2003)
flushdatabases (2000)
WebCat2b15MacPlugin - [protect] (1997)
Looking for a Manual (1997)
ShowNext (1997)
Remote stockroom ? (1998)