From: Bernd E. <eid...@we...> - 2005-04-25 16:51:05
|
Hi all, just one quick (configuration) question: When I use the lastest naviserver as a replacement for AS, is there anything to consider because of the new features? Some kind of (even small) side effect one has to be aware of? (besides the great new features, of course :-)) Virtual hosting as an example: Can I completely leave it alone if I have some sort of virtual hosting of my own in a particular project? Thanks, Bernd. |
From: Vlad S. <vl...@cr...> - 2005-04-25 18:10:54
|
When i replcaed my AS servers, the only Tcl code i had to change is ns_schedule_proc calls, and filters. NS does not have conn_id parameter anymore. Bernd Eidenschink wrote: > Hi all, > > just one quick (configuration) question: When I use the lastest naviserver as > a replacement for AS, is there anything to consider because of the new > features? Some kind of (even small) side effect one has to be aware of? > (besides the great new features, of course :-)) > > Virtual hosting as an example: Can I completely leave it alone if I have some > sort of virtual hosting of my own in a particular project? > > Thanks, > Bernd. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Zoran V. <zv...@ar...> - 2005-04-25 20:11:35
|
Am 25.04.2005 um 19:57 schrieb Bernd Eidenschink: > > Hi all, > > just one quick (configuration) question: When I use the lastest > naviserver as > a replacement for AS, is there anything to consider because of the new > features? Some kind of (even small) side effect one has to be aware of? > (besides the great new features, of course :-)) > > Virtual hosting as an example: Can I completely leave it alone if I > have some > sort of virtual hosting of my own in a particular project? We have switched our app to Naviserver and there was one spot I had to fix: ns_urlencode This call is now properly escaping blanks depending on the part of the URL string: path-part or query-part. If you use this command you might want to check out its usage. Apropos virtual hosting: I think if you do not use this new feature, nothing will break. Zoran |
From: Stephen D. <sd...@gm...> - 2005-04-25 22:31:20
|
On 4/25/05, Bernd Eidenschink <eid...@we...> wrote: >=20 > Hi all, >=20 > just one quick (configuration) question: When I use the lastest naviserve= r as > a replacement for AS, is there anything to consider because of the new > features? Some kind of (even small) side effect one has to be aware of? > (besides the great new features, of course :-)) >=20 > Virtual hosting as an example: Can I completely leave it alone if I have = some > sort of virtual hosting of my own in a particular project? There has been a lot of changes, but not too much is visible unless you specifically go looking for it. For example, virtual hosting is turned off by default. I can't imagine why, but you have been relying on bogus urldecoding, or the non functional -charset switch to urldecode. The optional connid parameter is no longer accepted by many Tcl commands. The mime types for a couple of the xml types has changed from text/* to application/*. I think that's about it. We need to pick through the ChangeLog and create a NEWS file... |
From: Stephen D. <sd...@gm...> - 2005-04-26 23:06:02
|
On 4/25/05, Zoran Vasiljevic <zv...@ar...> wrote: > > We have switched our app to Naviserver and there was one spot > I had to fix: ns_urlencode >=20 > This call is now properly escaping blanks depending on the > part of the URL string: path-part or query-part. If you use > this command you might want to check out its usage. Is this not backwards compatible? It defaults to '-part query' which is what the old command did, turning blanks into +'s. Just wondering... |
From: Zoran V. <zv...@ar...> - 2005-04-27 04:44:27
|
Am 27.04.2005 um 01:05 schrieb Stephen Deasey: > On 4/25/05, Zoran Vasiljevic <zv...@ar...> wrote: >> >> We have switched our app to Naviserver and there was one spot >> I had to fix: ns_urlencode >> >> This call is now properly escaping blanks depending on the >> part of the URL string: path-part or query-part. If you use >> this command you might want to check out its usage. > > > Is this not backwards compatible? It defaults to '-part query' which > is what the old command did, turning blanks into +'s. Just > wondering... Hm. The problem was not with the query but with the fact that I used ns_urlencode to encode the *entire* string including both path and the query. Hence the [ns_conn urlv] gave me path parts where blanks were encoded as "+". Zoran > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
From: Bernd E. <eid...@we...> - 2005-04-28 18:32:24
|
Hi all, thanks for your tips with ns_url[en|de]code; conn_id etc! What I got when starting nsd with the same config file (and command args) that works with plain AS: ...[28079.1076405344][-main-] Notice: prebind: tcp: 85.x.y.z:8000 = 3 ...[28079.1076405344][-main-] Fatal: nsmain: no such server '/opt/open_ns/nsd' (shortened the log). This happens when trying to run the server chrooted (-r). But I will have to further investigate if it could be a mistake on my part. I installed both servers in parallel (different directories) to make it easier to switch and maybe I lost something in that hecticness. Ah, yes, and when compiling modules like nspostgres, I needed to give gmake a NAVISERVER argument instead of AOLSERVER :-) Regards, Bernd. |
From: Stephen D. <sd...@gm...> - 2005-04-30 09:24:22
|
On 4/28/05, Bernd Eidenschink <eid...@we...> wrote: > > What I got when starting nsd with the same config file (and command args)= that > works with plain AS: >=20 > ...[28079.1076405344][-main-] Notice: prebind: tcp: 85.x.y.z:8000 =3D 3 > ...[28079.1076405344][-main-] Fatal: nsmain: no such server '/opt/open_ns= /nsd' > (shortened the log). >=20 > This happens when trying to run the server chrooted (-r).=20 Try now with cvs HEAD, I fixed a small typo. |