r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Uniserve] Creating Uniserve processes

Will
6-Jan-2007
[393x3]
you are right! Cheyenne is the http 1.1 webserver
Pekr: have forwarded decon07 update request.
wops, devcon07 ;-)
Joe
12-Jan-2007
[396]
see related post wrt async dns in the core group. Is the behavior 
mentioned in the core group possible with Uniserve async dns support 
 ?
xavier
12-Jan-2007
[397]
rebol server pages ? will we have samples of it ?
PeterWood
12-Jan-2007
[398]
Does this help ? http://www.ross-gill.com/techniques/rsp/
Maarten
13-Jan-2007
[399]
Ah.... those were the days
xavier
13-Jan-2007
[400x2]
i just installed cheyenne and tried to explore it ... i found the 
examples
very interesting tool ... i go to do a site on it
Joe
14-Jan-2007
[402]
How does uniserver tcp async compare with a) async://, b) atcp:// 
and c) the new async core that may eventually be released (and was 
available two years ago !)
Maarten
14-Jan-2007
[403]
They are all 3 abstractions of a lower-level rebol async layer, performance 
is in the same range.
Mchean
25-Jan-2007
[404]
I've received an error in starter.r:  ## Error in [uniserve] : Cannot 
open server HTTPd on port 80 !
Pekr
25-Jan-2007
[405x2]
Mchean - if you are using latest demo version, go to uniserve/protocols, 
and remove http2.r file - it was mistake of DocKimbel, who mistakenly 
left the testing file in the archive ...
and if it does not help, you are aparently running some web server 
on port 80 already ...
Mchean
26-Jan-2007
[407]
Thanks Pekr, that would be a suprise if i was running a server somewhere
MikeL
26-Jan-2007
[408]
Easy to check with http://localhostSometimes that gives you the 
home page of the server that is colliding with the one you want.
Oldes
27-Jan-2007
[409x2]
I started to play with the proxy-http service a little bit and found 
that there is a bug: the on-error http-event has args: [reason port] 
not [port reason] !
unfortunately there are still some issues with this service:(
Mchean
29-Jan-2007
[411x2]
Localhost doesn't respond in the browser, and there is no http2.r 
file andy other suggestions?  I'm have very little experience with 
servers so don't know where to startt
I'm using Version : 0.9.9  Date : 11-Oct-2004  is there perhaps a 
later version.
Graham
29-Jan-2007
[413x3]
open Rebol
try : server: open tcp://:80
if that fails, then another process is serving on 80.
Pekr
29-Jan-2007
[416]
0.9.9 is latest official version. But scroll to some earlier messages 
here, and you will find link to beta  0.919 version ....
Mchean
29-Jan-2007
[417x2]
thank-you!
Would there be any issues with port blocking in Windows XP and their 
firewall?
Graham
29-Jan-2007
[419]
XP will ask you if you start up a server process if it is to be allowed
Mchean
29-Jan-2007
[420]
Graham the command fails so i guess something has port 80 tied up 
though i don't know what this might be.  I've tried this on 2 pc's 
on one the localhost fails with no page found, and on another im 
prompted for a user password.  I'll talk to my tech.
Graham
29-Jan-2007
[421x3]
there are windows utilities to see what ports are opened and by what.
netstat will tell you that 80 is open
try this http://www.microsoft.com/technet/sysinternals/utilities/TcpView.mspx
Pekr
29-Jan-2007
[424]
netstat -an
Mchean
29-Jan-2007
[425x4]
i found this also on a suggestion from a friend:  http://www.hijackfree.de/en/
It turns out I have a inetinfo service running which locks that port. 
 Its used in IIS but since I'm not running it I'm not sure what is 
using this process, and killing it doesn't work, as it keeps coming 
back.  I will have to investigate using another port
scary how many open ports i have for processes i can't id
I figured out how to stop the service tying up the 80 port , When 
i run this is what I get: >> do %/c/temp/rebol/uniserve/uni-engine.r
== true
>> uniserve/boot
[uniserve] Async Protocol Admin loaded
[uniserve] Async Protocol DNS loaded
[uniserve] Async Protocol FastCGI loaded
[uniserve] Async Protocol HTTP loaded

** Script Error: change expected series argument of type: series 
port
** Where: install-plugin
** Near: change pos/2 new
Graham
29-Jan-2007
[429]
does the binary work for you?
Mchean
29-Jan-2007
[430]
yes, i think im making progress thanks for the help
Oldes
30-Jan-2007
[431x2]
do you really need all the protocols? If not, you can start uniserve 
using this way:

do %uni-engine.r
uniserve/verbose: 5
uniserve/boot/no-loop/with [
	protocols [irc]
	services  [flashd task-master httpd]
]
;do whatever here
do-events
And if you are using the Uniserve from the link above, you should 
know, that it's just a shapshot from doc's folder so you have to 
for example edit some files - for example the default prefs of the 
HTTPd as they are leading into files which don't exists.
Mchean
30-Jan-2007
[433x3]
Not really, just trying to get the out-of-box experience
hmm... maybe that's not a good expectation then
my purpose is to educate myself about servers using Uniserve as a 
starting point
Oldes
30-Jan-2007
[436x3]
just go to services/HTTPd.r file and edit the prefs
you can also change the port you are listening - for example to 8080
the file is probably not in the best shape as there are some probes 
which are probably because of debugging which was Doc making at the 
moment when he gave it here
Mchean
30-Jan-2007
[439]
ok thanks - do you think Rugby might be a better choice?
Oldes
30-Jan-2007
[440]
I don't know, I never used Rugby and don't know what you want to 
do:)
Mchean
30-Jan-2007
[441]
just a learning tool
Oldes
30-Jan-2007
[442]
what kind of learning?