hi,


i am trying to give web interface for ns_vhr command, so that i can add ,delete get virtual hosts at runtime .

for this i had written a small tcl file that contains only ns_vhr update
command
. i can not run it on slave server since it doesn't have ns_vhr module
loaded.(i got the error message unknown command when i tried it  earlier)

so i tried it to run on master server . surprisingly (for me) it is not
serving pages although i configured the master config file for  web page
root and several sections  to deal with adp and tcl pages. can't we serve
tcl/adp pages from
master server in this situation...
master server root   is at /web/master/ and www contains index.adp,
index.tcl ,test.tcl(it contains the command )


Madhu Sudhana Rao




From: Jerry Asher <[EMAIL PROTECTED]>
Reply-To: AOLserver Discussion <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] ns_vhr command not working from a .tcl script for
me
Date: Wed, 5 Mar 2003 09:04:29 -0800

madhusudhanarao sunkara wrote:

hi,

ns_vhr command is not working for me, when it is embedded in .tcl script
the server is responding with error something like
  invalid command name ns_vhr update ......
but when i tried it with nscp it is working . is it restricted for
server control port  admin ..
what changes shall i make to my tcl script to work

This is surprising to me, but then I am not sure I ever used it from anything other than the nscp command line. I love the nscp command line. (Back when I was a kid, we had to wget | cat all of our web pages.)

I haven't looked at this code in more than a year, and, I am trying not
to use it now in fact.  I don't have time to look at it now.

A first glance at the code itself, and I don't see anything that should
restrict it to just the control port.  Also, "invalid command" does not
appear in the code, although "unknown command" does.

Best of luck, I am interested in knowing what you find out.


Jerry




I. To remove yourself from this list:

Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/


_________________________________________________________________
Cricket World Cup 2003- News, Views and Match Reports.
http://server1.msn.co.in/msnspecials/worldcup03/



I. To remove yourself from this list:

Send a message to "[EMAIL PROTECTED]"  with the following text in
the BODY of your message:

signoff aolserver

II. For a complete list of listserv options please visit:

http://listserv.aol.com/

III. For more AOLserver information please visit:

http://www.aolserver.com/

Reply via email to