Re: [AOLSERVER] several questions - mostly C API

2001-06-17 Thread Boris Georgiev
Well, I'm modifying return.c, because in the Ns_ConnReturnRedirect() it is used Ns_ConnLocation(), which has in its comments: * Ns_ConnLocation -- * * Get the location of this connection. It is of the form * METHOD://HOSTNAME:PORT The problem was that it returns the hostname of

Re: [AOLSERVER] several questions - mostly C API

2001-06-17 Thread Wojciech Kocjan
Hi. My nsmassvh module does not require any patches to the nsd core. Here's how I get the hostname: -- SNIP -- char *h; h=NULL; if ((c=Ns_TclGetConn(NULL))!=NULL) { if ((s=Ns_ConnHeaders(c))!=NULL) h=Ns_SetIGet(s,host); } -- SNIP -- I also remove the 'www.' from the beginning if

Re: [AOLSERVER] several questions - mostly C API

2001-06-17 Thread Jerry Asher
I wonder if the new, but still undocumented Ns_ConnSetLocationProc() can help you out: In AOLserver 3.2, it is in conn.c and look like this: *-- * Ns_SetConnLocationProc -- * * Set pointer to custom routine that acts

[AOLSERVER] ANN: XSLT support in ns_xml available

2001-06-17 Thread Yon Derek
I've added XSLT support to nsxml module. All information is available here: http://acs-misc.sourceforge.net/wiki/index.php?XsltSupportForAolserver I'll maintain nsxml module so if you have bugfixes, send them to me. Anyone in power here can give me CVS commit access to AOLServer@sourceforge (my