[AOLSERVER] Install problem

2008-03-03 Thread Xavier Bourguignon
-- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] Install problem

2008-03-03 Thread Xavier Bourguignon
del Río [EMAIL PROTECTED] wrote: Hello Xavier, I suggest you cleaning everything before doing the install, that is: make clean make all make install Best Regards, Juan José El Mon, 3 Mar 2008 13:35:18 + , Xavier Bourguignon [EMAIL PROTECTED] escribió: Thank you Juan

Re: [AOLSERVER] Install problem

2008-03-04 Thread Xavier Bourguignon
-threads? best regards -gustaf neumann Xavier Bourguignon schrieb: I ran make clean, then make all and I got this on make all: gcc -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -O2 -fno-strict-aliasing -pipe -nostartfiles -I/home/xbourgui/Desktop/aolserver-4.5.0

Re: [AOLSERVER] Install problem

2008-03-04 Thread Xavier Bourguignon
the login: and Password: words on the browser only once I killed the server? Thank you On 04/03/2008, Gustaf Neumann [EMAIL PROTECTED] wrote: Xavier Bourguignon schrieb: Hello Gustaf, yes I compiled tcl8.4.18 myself with --enable-threads. I will redo everything and see what happens

Re: [AOLSERVER] Install problem

2008-03-05 Thread Xavier Bourguignon
and not 127.0.1.1. Now my next question is, why do I have to connect to 127.0.1.1 instead of what is in the config file? Again, sorry about this, I guess it is easy to miss. Thank you On 05/03/2008, Xavier Bourguignon [EMAIL PROTECTED] wrote: Ok, I have set timeout to be 1 and now I don see

Re: [AOLSERVER] Install problem

2008-03-05 Thread Xavier Bourguignon
in the email message. You can leave the Subject: field of your email blank. -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave

Re: [AOLSERVER] Install problem

2008-03-06 Thread Xavier Bourguignon
. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank. -- Xavier Bourguignon -- AOLserver

[AOLSERVER] adp files

2008-03-10 Thread Xavier Bourguignon
close-brace How can this be? Thank you -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] requests question

2008-03-16 Thread Xavier Bourguignon
registered). If I recall correctly, there's no way to get a list of registered filters... which can make debugging later difficult. Rob Seeger Xavier Bourguignon wrote: Excellent, thank you, that was exactly what I was looking for. On 15/03/2008, Michael A. Cleverly [EMAIL PROTECTED] wrote

Re: [AOLSERVER] requests question

2008-03-18 Thread Xavier Bourguignon
://philip.greenspun.com/wtr/aolserver/introduction-1.html best wishes Brian -Original Message- From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of Xavier Bourguignon Sent: 15 March 2008 22:08 To: AOLSERVER@LISTSERV.AOL.COM Subject: Re: [AOLSERVER] requests question

[AOLSERVER] how do I

2008-03-18 Thread Xavier Bourguignon
ns_return 200 text/html some_html_here as I want to keep html separated from Tcl as much as possible. I just want to be able to have a call that says for example: playFile menu.adp. Any Tcl variables set in the procedure would be used in the menu.adp file if needed. Thank you -- Xavier

Re: [AOLSERVER] how do I

2008-03-18 Thread Xavier Bourguignon
Ok, but what do I do if they do exist? How do I say to aolserver that I want to serve the menu.adp file? Thank you On 18/03/2008, Don Baccus [EMAIL PROTECTED] wrote: On Mar 18, 2008, at 11:25 AM, Xavier Bourguignon wrote: I have a URL mapped to a Tcl procedure like

Re: [AOLSERVER] how do I

2008-03-18 Thread Xavier Bourguignon
, Xavier Bourguignon [EMAIL PROTECTED] wrote: Ok, but what do I do if they do exist? How do I say to aolserver that I want to serve the menu.adp file? Thank you On 18/03/2008, Don Baccus [EMAIL PROTECTED] wrote: On Mar 18, 2008, at 11:25 AM, Xavier Bourguignon wrote: I have

Re: [AOLSERVER] how do I

2008-03-18 Thread Xavier Bourguignon
I see, ok, i'll get on with it. Cheers everyone On 18/03/2008, Don Baccus [EMAIL PROTECTED] wrote: On Mar 18, 2008, at 12:39 PM, Xavier Bourguignon wrote: Thanks Don and Darren, I will look at the info. I just find it strange that I have to REDIRECT to another url, to me redirect

[AOLSERVER] globals

2008-03-19 Thread Xavier Bourguignon
But unfortunately, it seems that this global does not stay in memory for any longer than the life of 1 request. Thank you -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER

Re: [AOLSERVER] how do I

2008-03-20 Thread Xavier Bourguignon
. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank. -- Xavier Bourguignon -- AOLserver - http

Re: [AOLSERVER] globals

2008-03-20 Thread Xavier Bourguignon
. Bas. On 20/03/2008, at 8:51 AM, Xavier Bourguignon wrote: Hi, Is there a way to set a global which stays in memory for the life of the server and not just for the life of a request? I am asking this because I want to set some server wide configuration items and I do

[AOLSERVER] using database

2008-03-28 Thread Xavier Bourguignon
Hi all, Are there any sites or links someone could point to me so I can learn how to use postgres with aolserver? I need to know what the commands are for connecting to the DB, issuing a query, manipulating result sets and so on... Thank you -- Xavier Bourguignon -- AOLserver - http

[AOLSERVER] ns_db problem

2008-04-01 Thread Xavier Bourguignon
. Can someone tell me if some settings are wrong, or if I am using ns_db incorrectly? Thank you -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You

Re: [AOLSERVER] ns_db problem

2008-04-01 Thread Xavier Bourguignon
So you know, the line: ns_param gameskillspool Postgres should read: ns_param gamespool Postgres On 01/04/2008, Xavier Bourguignon [EMAIL PROTECTED] wrote: Hi all, I have this in my config file: ns_section ns/server/games-admin/modules ns_param nssock $bindir/nssock.so ns_param

Re: [AOLSERVER] ns_db problem

2008-04-02 Thread Xavier Bourguignon
/2008, Darren Ferguson [EMAIL PROTECTED] wrote: Your pool is called gameskillspool and your in /db/pool you just have gamespool. Respectfully, Darren Ferguson Xavier Bourguignon wrote: Hi all, I have this in my config file: ns_section ns/server/games-admin/modules ns_param

[AOLSERVER] SQL placeholders

2008-04-02 Thread Xavier Bourguignon
-- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] SQL placeholders

2008-04-02 Thread Xavier Bourguignon
Ok, so how do I get this OpenACS db_* AP to work? Do I have to add something is my config file? How do I make the calls, is there some doc somewhere about this? Thank you On 02/04/2008, Andrew Piskorski [EMAIL PROTECTED] wrote: On Wed, Apr 02, 2008 at 10:18:11AM +0100, Xavier Bourguignon

[AOLSERVER] using openacs db api

2008-04-02 Thread Xavier Bourguignon
Hi All, Does anybody know what is required to use OpenAcs DB API for accessing Postgres DB within aolserver? Thank you -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF

Re: [AOLSERVER] using openacs db api

2008-04-03 Thread Xavier Bourguignon
thank you all for the info. Jeff, I have been using your code and adapted it to my needs, thanks for that. On 02/04/2008, Juan José del Río (Simple Option) [EMAIL PROTECTED] wrote: I think I do... It's called OpenACS :) On Wed, 2008-04-02 at 20:49 +0100, Xavier Bourguignon wrote: Hi All

Re: [AOLSERVER] SQL placeholders

2008-04-03 Thread Xavier Bourguignon
at 02:39:57PM +0100, Xavier Bourguignon wrote: Ok, so how do I get this OpenACS db_* AP to work? You would have to install OpenACS: http://openacs.org/ However, if you are currently using AOLserver stand alone, that's probabably not what you want to do, not just in order to use its db

[AOLSERVER] weird behaviour with time

2008-04-03 Thread Xavier Bourguignon
and everything is fine. Thanks -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

[AOLSERVER] tcl variables

2008-04-19 Thread Xavier Bourguignon
and then use in my adp? Thank you -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] tcl variables

2008-04-19 Thread Xavier Bourguignon
they? Thanks On 19/04/2008, Tom Jackson [EMAIL PROTECTED] wrote: On Saturday 19 April 2008 12:52, Xavier Bourguignon wrote: Hi, In one of my adp files I want to display the value of a tcl variable, so I do this %=$varname% My problem is that I can only see the value when my varname is set

Re: [AOLSERVER] tcl variables

2008-04-20 Thread Xavier Bourguignon
!-- the following will both work -- %= $bob % % ns_adp_puts $bob % /body /html However, things defined in other pages/includes or other procs would need to be global to be accessed. Rob Seeger Xavier Bourguignon wrote: html head /head body %proc_call% h1

Re: [AOLSERVER] tcl variables

2008-04-20 Thread Xavier Bourguignon
PROTECTED] wrote: On 2008.04.20, Xavier Bourguignon [EMAIL PROTECTED] wrote: So Bob, what is the difference between setting the variable within the adp and setting it in a procedure? Surely the variable set in the procedure should be available as the procedure is called within the adp

Re: [AOLSERVER] tcl variables

2008-04-20 Thread Xavier Bourguignon
, Xavier Bourguignon wrote: Don, my programming background has nothing to do with the questions I asked, so sorry, you won't get an answer from me, but thank you for trying. I asked because more information about your knowledge and skills can help us answer you more effectively

Re: [AOLSERVER] tcl variables

2008-04-20 Thread Xavier Bourguignon
ooops, and another nasty comment. and apparently I am the one not being civil. On 20/04/2008, Don Baccus [EMAIL PROTECTED] wrote: On Apr 20, 2008, at 1:13 PM, Xavier Bourguignon wrote: It is so great knowing I won't get any more nasty comments from you. I wasn't trying to be nasty

Re: [AOLSERVER] tcl variables

2008-04-21 Thread Xavier Bourguignon
20, 2008 at 07:20:58PM +0100, Xavier Bourguignon wrote: Don, my programming background has nothing to do with the questions I asked, so sorry, you won't get an answer from me, but thank you for trying. Not true, your programming background certainly does have some relevance

[AOLSERVER] apology

2008-04-21 Thread Xavier Bourguignon
programming, Tcl, Web servers, etc... Hopefully, there are other aolserver lists or forum out there. Again, sorry and thank you. Bye -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body

Re: [AOLSERVER] apology

2008-04-21 Thread Xavier Bourguignon
, Don Baccus [EMAIL PROTECTED] wrote: On Apr 21, 2008, at 7:23 AM, Xavier Bourguignon wrote: Sorry all. Apology accepted, no problem. Thank you. I suppose I won't be welcome here anymore Oh, c'mon, this is a fairly small list and I don't know of anyone here who won't accept

[AOLSERVER] ns_returnredirect

2008-04-22 Thread Xavier Bourguignon
/html html I want to return, but I would love to be able to pass a file name and not have to pass the HTML in a string. I use singlescript = 1 in my configuration file, just in case this makes a difference in your potential answer. Thank you -- Xavier Bourguignon -- AOLserver - http

Re: [AOLSERVER] ns_returnredirect

2008-04-22 Thread Xavier Bourguignon
pageroot] path/to/my_file.adp]] Hope that helps, Bas. On 22/04/2008, at 6:26 PM, Xavier Bourguignon wrote: Hello all, Is there a similar procedure to ns_returnredirect which returns an adp file with an HTTP code of 200? For example: ns_return index.adp. I have looked in the API

Re: [AOLSERVER] ns_returnredirect

2008-04-22 Thread Xavier Bourguignon
has moved to another URL: ns_returnredirect / This would return to the home page of the current server. Here is a manpage on ns_return***: http://rmadilo.com/files/nsapi/ns_return.html On Tuesday 22 April 2008 05:24, Xavier Bourguignon wrote: Thanks Bas, I'll try that later when I

[AOLSERVER] cookie problem

2008-04-23 Thread Xavier Bourguignon
%} else { ns_adp_puts $datetime }% /div !-- Main content end -- /body /html Can you let me know what could be wrong? Thank you -- Xavier Bourguignon -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list

Re: [AOLSERVER] cookie problem

2008-04-23 Thread Xavier Bourguignon
Dossy, that is definitely what is happening. I am setting my cookie in the same request, and that is why it cannot see it. Thank you On 23/04/2008, Dossy Shiobara [EMAIL PROTECTED] wrote: On 2008.04.23, Xavier Bourguignon [EMAIL PROTECTED] wrote: I haven't bothered including the tcl code