Re: [WebDNA] Different results for [THISURL]

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114460
interpreted = N
texte = 2079 --Apple-Mail=_0686C1EF-A743-4F85-83C0-207383F26C0D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Chris Any movement on this ? Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > 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 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 --Apple-Mail=_0686C1EF-A743-4F85-83C0-207383F26C0D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Chris

Any movement = on this ?


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 8 Oct 2018, at 16:54, christophe.billiottet@webdna.us wrote:

Hi = Stuart,

yes, I think this should be fixed, = the behavior isn=E2=80=99t consistent when mod_rewrite rules are = involved.

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.

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.

I think the solution would be to adjust the = Server module to always generate THISURL from the raw request. We will = do it.

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.

kind regards,

- = chris

On= Oct 5, 2018, at 02:32, Stuart Tremain <webdna@plsoftware.com.au> wrote:

I am getting different results for [THISURL] on different = platforms.

http://www.domain.com/department/category

CentOS Server WebDNA 8.5
ThisURL = =3D /department/category


Ubuntu fcgi WebDNA 8.5
ThisURL =3D = /dept-root/cat-page.html

Any idea why this = would happen?

Is there a work around ?




Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA
webdna@plsoftware.com.au
--------------------------------------------------= -------
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 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 --Apple-Mail=_0686C1EF-A743-4F85-83C0-207383F26C0D-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Different results for [THISURL] (Stuart Tremain 2018)
  2. Re: [WebDNA] Different results for [THISURL] (christophe.billiottet@webdna.us 2018)
  3. Re: [WebDNA] Different results for [THISURL] (Stuart Tremain 2018)
  4. Re: [WebDNA] Different results for [THISURL] (christophe.billiottet@webdna.us 2018)
  5. Re: [WebDNA] Different results for [THISURL] (Stuart Tremain 2018)
  6. Re: [WebDNA] Different results for [THISURL] (christophe.billiottet@webdna.us 2018)
  7. Re: [WebDNA] Different results for [THISURL] (christophe.billiottet@webdna.us 2018)
  8. Re: [WebDNA] Different results for [THISURL] (Stuart Tremain 2018)
  9. Re: [WebDNA] Different results for [THISURL] (christophe.billiottet@webdna.us 2018)
  10. [WebDNA] Different results for [THISURL] (Stuart Tremain 2018)
2079 --Apple-Mail=_0686C1EF-A743-4F85-83C0-207383F26C0D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Chris Any movement on this ? Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > 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 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 --Apple-Mail=_0686C1EF-A743-4F85-83C0-207383F26C0D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Chris

Any movement = on this ?


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 8 Oct 2018, at 16:54, christophe.billiottet@webdna.us wrote:

Hi = Stuart,

yes, I think this should be fixed, = the behavior isn=E2=80=99t consistent when mod_rewrite rules are = involved.

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.

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.

I think the solution would be to adjust the = Server module to always generate THISURL from the raw request. We will = do it.

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.

kind regards,

- = chris

On= Oct 5, 2018, at 02:32, Stuart Tremain <webdna@plsoftware.com.au> wrote:

I am getting different results for [thisurl] on different = platforms.

http://www.domain.com/department/category

CentOS Server WebDNA 8.5
ThisURL = =3D /department/category


Ubuntu fcgi WebDNA 8.5
ThisURL =3D = /dept-root/cat-page.html

Any idea why this = would happen?

Is there a work around ?




Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA
webdna@plsoftware.com.au
--------------------------------------------------= -------
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 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 --Apple-Mail=_0686C1EF-A743-4F85-83C0-207383F26C0D-- . 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:

JavaScript (1998) Converting order file to database (1998) WebCat2b13 Command Reference Doc error (1997) Calculating multiple shipping... (1997) WebCatalog for Postcards ? (1997) pull downs (1997) Numbers from Sentence (2003) Pipes instead of tabs (1998) Forcing a NEWCART (1997) How far do [showif]s go? (1997) New public beta available (1997) RE: Can't get appendfile to work (1997) WebCat2b13MacPlugIn - [include] (1997) NT version and O'reily's WebSite (1997) Showif with an or (2003) How do I get Google to crawl a WebCat site? (2003) Date format problems (1997) [WebDNA] 6.2 Monitor (2012) Separate SSL Server (1997) Not carrying Zero (2000)