• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp443
r3wp4402
total:4845

results window for this page: [start: 1201 end: 1300]

world-name: r3wp

Group: Core ... Discuss core issues [web-public]
Brock:
15-Apr-2005
Is this a bug?

1)  I read a directory on our ftp server and return a set of files 
of which  02 EN AR final.pdf is one of them

2)  I then copy a URL address that returns a 404 indicating it couldn't 
find the file in question ie.  http://www.cpcpension.com/files/2002EN AR final.pdf

3)  I do a  split-paths to-url on the contents of the clipboard:// 
that contains item in step 2)

4)  I compare the file names for equality either using "=" or equal? 
and both return false
5)  I check the type of each file, they are both 'file' types

6)  I check the length of each file, the one from step 1) returns 
20, step 2) returns 26


So, somewhere it is changing the   representation of a space into 
the actual string " ".
Any ideas?
6)
Brock:
15-Apr-2005
When I execute this command...

print second split-path to-file to-string http://www.cpcpension.com/files/2002EN AR fin
al.pdf
it returns.... 2002 EN AR final.pdf
it converted the  's in the URL
Brock:
15-Apr-2005
when I execute this command...
print second split-path to-file to-string read clipboard://
where I have copied the URL above into the clipboard://
it returns.... 2002 EN AR final.pdf
Vincent:
15-Apr-2005
Brock: 'to-url converts a string into an url without escaping, escaping 
is only done when showing the url string: 

to-url "http://www.cpcpension.com/files/2002EN AR final.pdf" ; works 

== http://www.cpcpension.com/files/2002EN AR final.pdf ; blanks 
->  

to-url "http://www.cpcpension.com/files/2002EN AR final.pdf" 
; don't works

== http://www.cpcpension.com/files/2002EN AR final.pdf ; only 
looks the same, but contains "%" "2" "0"
you can use 'do or 'load to interpret the string in clipboard:
do read clipboard://
load read clipboard://
(same with 'to-file)
Gordon:
6-May-2005
Hello;

  I'm wondering if there is a more efficeint way to assign values directly 
  to a block of  variables.  My example involves reading lines from 
  a file and assigning them one at a time to each variable.  Here is 
  the line format:


LineFormat: [DateStr Manufacturer MF_Part TD_Part Desc Price1 Price2 
Retail Stock Misc]

Data: read/lines Filename
Str: first Data

Then I go though the String 'Str' and do the assigns

      DateStr: First Str
      Manufacturer: Second Str
      MF_Part: Third Str
      TD_Part: Fourth Str
      Desc: Fifth str
      Price1: skip Str 5
      Price2: skip Str 6
      Retail: skip Str 7
      QOH: skip Str 8
      Misc: skip Str 9


Am I missing something obvious about assigning one block of  values 
to another block of  variables?
Janeks:
9-May-2005
How to set correctly progress function for read-net? Or what causes 
following error and :                                            
                >> myProgr: func [ tot bt ] [ print bt / tot ]

>> read-net/progress to-url "http://maps.dnr.state.mn.us/cgi-bin/mapserv36?map=/usr/loca

l/www/docs/mapserver_demos/tests36/expressions/test.map&map_counties_class_expression=(%

5bAREA%5d %3e 7577272785.15339)&layer=title&map_title_class_text=Counties+Larger+Tha
n+Itasca+County&mode=map" :myProgr
0.425625
** Script Error: not is missing its value argument
** Where: read-net

** Near: all [:callback size not callback size length? buffer data: 
true break]
not data
>> source read-net
read-net: func [

    {Read a file from the net (web). Update progress bar. Allow abort.}
    url [url!]

    /progress callback {Call func [total bytes] during transfer. Return 
    true.}
    /local port buffer data size
][
    vbug ['read-net url]
    if error? try [port: open/direct url] [return none]

    size: to-integer any [port/locals/headers/content-length 8000]
    buffer: make binary! size

    set-modes port/sub-port [lines: false binary: true no-wait: true]
    until [
        if not data: wait [60 port/sub-port] [data: true break]
        if data: copy port/sub-port [append buffer data]

        all [:callback size not callback size length? buffer data: true break]
        not data
    ]
    close port
    if not data [buffer]
]
>>
Janeks:
10-May-2005
Thanks Gabriele. It was the reason. But to continue regarding status 
bar functions fired by read-thru. Than it is a problem just to kBox/image: 
 read-thru/progress myUrl :myProgr . It is possible just by using 
local file i.e. kBox/image: read-thru/to/progress myUrl %tmpImg.png 
:myProgr
RebolJohn:
12-May-2005
Help peoples..

I have the following..
  x: [a b c d]

  foreach y x [ set y make string! {} ] ;make them all empty strings.
then I process/append info into the different groups a,b,c,d.
Now, I want to write each string/list to a file of the same name.
i.e.
  foreach y x [write to-file join y ".txt" ??GETVALUE?? y]

Can someone clue me in on what I do at the ??GETVALUE?? position?

Thanks peoples.
[unknown: 5]:
8-Jul-2005
I'm working on a project now that I want to send out but don't want 
it to look so much like a batch file as much as having its own capabilities 
inherent.
[unknown: 5]:
8-Jul-2005
For example, if we rolled out an encapped file to 40,000 desktops 
and someone walked up and said who did this and they said Paul did 
- then they would say what happens if Paul leaves us.
[unknown: 5]:
8-Jul-2005
One time I created a nice program that would go out and check backups 
on the servers.  Because it was an executable file they got rid of 
the system - even though it was better than anything else we had.
Sunanda:
17-Jul-2005
In Command:
>> help run
USAGE:
    RUN file /as suffix
DESCRIPTION:
     Runs the system application associated with a file.
     RUN is a native value.
ARGUMENTS:

     file -- The file to open (file, URL) or command to run (string). 
     (Type: file url string)
REFINEMENTS:
     /as
         suffix -- (Type: string file)
Graham:
17-Jul-2005
run will call a native application to open the file in question eg. 
acrobat reader for pdf files.

It is only enabled on IOS .. I have asked RT why it can't be enabled 
for the sdk as well.
Henrik:
7-Aug-2005
I think there is one which splits a file up in an object with path, 
filename and extension. can't remember which though....
Pekr:
7-Aug-2005
>> prefix: func [filename][copy/part file find/last file "."]
>> prefix file
== %movie.cd1.divx-rel6
Pekr:
7-Aug-2005
where - >> file: %movie.cd1.divx-rel6.avi
Pekr:
7-Aug-2005
but prefix is wrong :-) body uses my global 'file variable - should 
be prefix: func [filename][copy/part filename find/last filename 
"."]
Volker:
7-Aug-2005
i guess parse-rule would be longer in this case. now trying

re-suffix: func [file suffix][append copy/part file find/last file 
"." suffix]
Geomol:
16-Aug-2005
cd: func ['dir [file! word!] ][change-dir dirize to-file dir]

Now it's possible to type e.g.:
cd ..
cd rebol/view
etc.
Geomol:
16-Aug-2005
cd: func ['dir [file! word! path!] ][change-dir dirize to-file dir]

NOW it's possible.
Geomol:
16-Aug-2005
Question to myself: Why didn't I just write:
cd: func ['dir][change-dir dirize to-file dir]


There are many ways to write almost the same thing in REBOL with 
differenct side-effects. Good or bad!? I'm not sure, but it's fun! 
:-)
Geomol:
16-Aug-2005
Another version, that will get to back to system/options/path, if 
'cd' has no argument:


cd: func ['dir [any-type!][either value? 'dir [change-dir dirize 
to-file dir][change-dir system/options/path]]
Henrik:
21-Aug-2005
Suggestion: ATTEMPT offers no possibility to provide a default value 
in case of failure. How about:

attempt/failure [2 / 0] "Invalid!"
== "Invalid!"

attempt [2 / 0]
== none

default-values: [a b c]

values: copy attempt/failure [read %values-file] default-values

2% more elegance? Or a debugging trap?
Volker:
21-Aug-2005
inbuild:
values: copy any[attempt [read %values-file] default-values]
Ladislav has something like your suggestion, called 'default.
Volker:
21-Aug-2005
default [read %values-file] "This file missing"
Anton:
21-Aug-2005
Doesn't look like it. I think file skip was removed because of moving 
to new Windows api.
Anton:
21-Aug-2005
you mean  "file seek"   or  "open/skip".
MikeL:
23-Aug-2005
Great then I will use include/check as the default usage and may 
save some slow file access time in sub-modules.  Thanks again.
Ingo:
23-Aug-2005
Geomol: This way the executable may reside on a readonly file system. 
Sounds good to me.
Brett:
29-Aug-2005
reduce-deep: func [
	block [block!]
	/local queue result file eval-state sub-result
][

	; Initialise
	queue: make list! 10
	result: reduce []


 ; Loop until we exhaust all unfinished blocks and we exhaust current 
 block.
	until [

		either empty? :block [
			; If finished this block, but more to process - add our
			; result to higher block result and set that block as current.
			if not empty? queue [
				set/any 'sub-result get/any 'result
				set [result block] queue/1
				insert/only tail result get/any 'sub-result
				queue: remove queue
			]
		][

			; Process current block item.

			either block? block/1 [
				; Save current level to process later,
				; set this new block as current.
				queue: head insert/only queue reduce [result next block]
				result: reduce []
				block: block/1
			][
				; Evaluate item.
				eval-state: do/next block
				insert/only tail result eval-state/1
				block: eval-state/2
			]
		]

		all [tail? block tail? queue]
	]

	; Return final result
	result
]
Anton:
31-Aug-2005
Maybe you can read a file directly from the share, but it looks like 
you can't access it because you can't CHANGE-DIR to it ?:

http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlPCHJ
Geomol:
5-Sep-2005
The functionality is very usefull. (Maybe your include can do a bit 
too much. I like it simple.) Maybe I could just do %include.r at 
the start of canvas.r, so people doesn't have to do it in their user.r 
files. Or I should go another way and make it one big file for now!? 
Hmmm well, I would like to do modules later on, so only the parts 
needed is included.
Ladislav:
5-Sep-2005
regarding your questions: you can use INCLUDE to make a one big file 
if you like
Ladislav:
5-Sep-2005
DO doesn't work as that, it simply does the file without including 
its contents
Geomol:
5-Sep-2005
How do I use INCLUDE to make one big file from scripts?
Ladislav:
5-Sep-2005
include/link %input-file %output-file will create a big %output-file
Graham:
14-Sep-2005
Now that we have open/seek, is there some way to compute a check 
sum on a large file by reading it in part by part ?
Graham:
18-Sep-2005
USAGE:

    SEND address message /only /header header-obj /attach files /subject 
    subj /show

DESCRIPTION:
     Send a message to an address (or block of addresses)
     SEND is a function value.

ARGUMENTS:

     address -- An address or block of addresses (Type: email block)

     message -- Text of message. First line is subject. (Type: any)

REFINEMENTS:
     /only -- Send only one message to multiple addresses
     /header -- Supply your own custom header
         header-obj -- The header to use (Type: object)
     /attach -- Attach file, files, or [.. [filename data]]

         files -- The files to attach to the message (Type: file block)
     /subject -- Set the subject of the message
         subj -- The subject line (Type: any)
     /show -- Show all recipients in the TO field
Geomol:
19-Sep-2005
Graham, are they?
WRITE destination value
destination -- (Type: file url object block)
     value -- (Type: any)
Group: Parse ... Discussion of PARSE dialect [web-public]
MichaelB:
23-Oct-2005
=image 
    file: images/a picture.gif 
    size: 200x300
    caption: some caption below the picture 
    desc: some description for the picture


I'm trying to extend Makedoc2 for a project to generate a xml dialect 
and I need much more information to certain elements - e.g. images 
- so I'm trying to make it as easy as possible for the user. The 
above is what I actually wanted to parse - but the order of the information 
is supposed to be free and I can't and don't want to use rebol datatypes 
which might be the first thought to make the parsing easier, because 
normal people don't want to learn too many rules for all these things. 
So the b and c in the example corresponded more to the caption and 
desc in the above example.
Izkata:
23-Oct-2005
I'm gonna try again:

>> s: {=image
{    file: images/a picture.gif
{    size: 200x300
{    caption: some caption below the picture
{    desc: some description for the picture}
== {=image
file: images/a picture.gif
size: 200x300
caption: some caption below the picture
desc: some description for the pictu...
>> parse head append s {^/} [
[    some [
[        thru {file: } copy file to {^/} |
[        thru {size: } copy size to {^/} |
[        thru {caption: } copy cap to {^/} |
[        thru {desc: } copy desc to {^/}
[        ]
[    ]
BrianH:
1-Nov-2005
f: open/direct file
a: copy/part f 4096

parse a [some [rule1 | rule2 | b: if (if a: copy/part f 4096 [b: 
join b a]) :b]]
Graham:
4-Nov-2005
It's being read in from a file.
BrianH:
4-Nov-2005
So if you copy your test data to the clipboard, you would assign 
it to a variable like this:
obx: read clipboard://

If you are reading it from a file with the read or open functions, 
there is no escaping.
Volker:
4-Nov-2005
i would really get the data from outside. put them in a file and 
use obx: read %data.txt, or use clipboard.
Group: Dialects ... Questions about how to create dialects [web-public]
Geomol:
11-Jan-2005
@Chris, I made a HTML3.2 dialect in REBOL at one point. It uses keywords 
for the optional parameters, and the order or parameters is irrelevant. 
You can find it, if you start REBOL/View desktop and goto http://home9.inet.tele.dk/johnn/index.r


Not much documentation there, I'm afraid, but you can see a small 
example in the text file at the site. The good thing with the html32 
dialect is, that it'll always produce 100% correct html code. If 
the input has error, you'll see a message.
Anton:
20-Sep-2006
Brian, I think you would have to write your own load-parser, that 
can, first of all, match brackets [] {} "", including escaping strings, 
"^"", load well-formed rebol values etc.. as well as be able to handle 
non-matching brackets and ill-formed rebol values.
This is a tough job.

The essence of the problem is that if the file is not fully loadable, 
then you can't be sure that *any* part of it that you might be looking 
at is a properly formed value. For example, if there is one extra 
unmatched } at the end of the file, does that imply that the whole 
lot was supposed to be a string ? Would that mean that all the prior 
text shouldn't be treated as individual values then ?
btiffin:
30-Jul-2007
Forth has a very (untouchable actually) immersive feel to it.  As 
long as you avoid working with the sad sad current trend of text 
file forth, everything you do in Forth is Forth.  Editor commands...Forth, 
disk management Forth, debugger Forth, locate and cross reference, 
Forth.  Anyway I'm still questing for a REBOL enviroment that allows 
that immersive feel.  No brain switching to Editor, back to console 
command brain, then another brain switch to file manager, bobloblaw. 
 Mondo powerful when you can keep your brain in one mode for a full 
eight hours.  Even building Forth was Forth.  I do kinda miss it, 
but only for semimental reasons.  REBOL is just too cool to think 
about going back.
Chris:
4-Aug-2008
rfc: I have a (not so) little function that attempts to match a block 
of values to a given specification.  Example:

	>> probe match [%image.png :red 300x100 /old][
	[	file: file! | url!
	[	size: opt pair!
	[	attributes: any get-word! | refinement!
	[	]
	make object! [
		file: %image.png
		size: 300x100
		attributes: [:red /old]
	]


There's not much to the rules, they are -- one (default), opt (zero 
or one), any (zero or many), some (many).  If they don't match, they 
return an error.  Any suggestions?  Optimizations?

	http://www.ross-gill.com/r/match.r
Henrik:
3-Mar-2009
Last year I created a small database which I wanted to talk to via 
a dialect. So I created a builder dialect that would build the database 
command dialect in two sets, one for server side for query handling 
and one for client side for response handling, so 3 dialects.

Then I would build client- and server-apps using a make-file like 
dialect which preprocesses and builds apps and uploads them to specific 
locations. 4 dialects. Great amount of control. Very little code.
Group: Windows/COM Support ... [web-public]
Anton:
9-Mar-2007
COMLib has been updated:

Backwards compatibility fixes in the main rebol interface file, COMLib.r
http://anton.wildit.net.au/rebol/os/windows/COMLib/
Maxim:
9-Mar-2007
ok... I know that you can use com to get a text version of any file 
format which has a thumbnail viewer... which can be very usefull 
to read things like pdf, word, and other obscure file types....
Robert:
30-Oct-2008
How can I set the current directory as the active one when I create 
an XLS object with COMLib? At the moment I need to provide fully-qualified-filenames 
to open a file.
Anton:
30-Oct-2008
But I can see in the word-open-save.r demo I have done this:

	do/args %../COMLib.r [
		...

  word_doc: GetObject [word_obj ".Documents.Open(%s)" to-local-file 
  clean-path %demos/word-open.doc]
Robert:
30-Oct-2008
I solved it the same way with to-local-file works, but not elegant.
Robert:
13-Jul-2009
I was changing a file in an other directory not the one the base 
script was in...
james_nak:
15-Jul-2009
Robert, on a recent project my app creates an xml file formatted 
with xml that Excel understands. It's a hassle but you can make very 
pretty spreadsheets that do just about all the formatting (so it's 
a far cry from CSV). I start with creatinga very small excel spreadsheet 
then saving as an xml file. Then I check out how they do the formatting. 
You can create multiple tabbed spreadsheets very easily this way. 
Doesn't do graphs though.
Anton:
27-Dec-2010
Well, looking at the demos/excel.r file, you can see integers being 
passed in with %d in the format string.

That file worked for me last time I tried it, as I noted in the script 
header. That would have been on WinXP.
james_nak:
23-Oct-2011
Luis, I just uploaded it to rebol.net. It's called myskype.r 

One weird thing that happened when I was getting it ready to post 
was that it stopped working with Skype4com.dll version 1.0.36. It 
started doing the same thing in spite of the NULL. I noted that in 
the file and went back to 1.0.33.
Group: Tech News ... Interesting technology [web-public]
Henrik:
16-May-2006
http://www.computer.org/portal/site/computer/menuitem.5d61c1d591162e4b0ef1bd108bcd45f3/index.jsp?&pName=computer_level1_article&TheCat=1005&path=computer/homepage/0506&file=cover1.xml&xsl=article.xsl&
<--- interesting link from that site.
JaimeVargas:
17-May-2006
Gabriele, tasking without any explicit control  is risky. How do 
you handle two task both writting to the same file, who gets access 
to the resource, how you enforce determinism?
Gabriele:
17-May-2006
Jaime, writing to files is something for the os to handle, not the 
language. what happens if you write from rebol on a file you're writing 
from another app?
Volker:
17-May-2006
Maybe Jaime means: If you do everything that way, including the os? 
But, there would be no  such thing as a file, there would be a file-server, 
eg a third task. Which gets request and can sort them out.
JaimeVargas:
17-May-2006
Gabriele, I don't think is an OS issue only. Once you introduce tasking 
would could write something like:

do [
    task [write %file "Hello"]
    task [write %file "World"]
]


The question is what is the result of such computation. Without any 
further mechanism it can produce as minimum two different results. 
"World Hello"  "Hello World", discarding posible contention errors. 
So how does R3 will manage such issues.
Volker:
17-May-2006
do[

  task 'task-server [ set[file content] copy msg  write file content 
  ]
  task [ send 'task-server %file "Hello" ]
  task[ send 'task-server %file "World" ]
]
Volker:
17-May-2006
'task-server -> 'file-server
Volker:
18-May-2006
But what you wrote is similar too
either 1 = random 2[ write%file "Hello"][write %file "world"]

What a task does depends upon what a task gets. I imagine a task 
in erlang as a little engine, which gets things of various kinds, 
wires them together when it has one of each kind and passes them 
further. And that "further" can not be deterministic with real hardware. 
Think of an out-of-order-cpu, a little delay in a memory-fetch and 
the command is processed by another pipeline. And that is without 
routing around crashed things. I prefer to have a full featured language 
to calculate the new route, not something restricted.
Louis:
18-May-2006
No. Just scanned in as graphic file.
Henrik:
7-Jun-2006
I don't know what you plan with AltME filesharing, but I sometimes 
would like a file storage service available centralized that would 
be available for me no matter where I've logged in.
Pekr:
8-Jun-2006
as far as my experience goes, WXP was never problem - plug-and-play, 
never lost single file. The problem is valid for W2K, but it is how 
they did it .... one of my friends told me (not sure it is true), 
that W2K first caches files, and unless of some size, it is not being 
written to target USB device. So, if you unplug it and not by using 
OS disconnecting facility, such files are not there ....
Pekr:
8-Jun-2006
maybe there is some setting for that, dunno .... Windows denerves 
me sometimes with so called - rought czech translation - delayed 
write was not successfull. Not sure how it happens, but somewhere 
deep in your profile there is a dir for such a feature, and if there 
is some file, you can see annoying messages each time Windows starts.
Izkata:
20-Jun-2006
New MS Word is missing the File, View, and Insert menus.... that'd 
take forever to get used to...
Pekr:
13-Nov-2006
why no Linux? I also read it can be used in non-server = local file 
version?
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public]
Chris:
23-Apr-2007
This rewrite rule takes any request (third line) for a file that 
doesn't exist (second line) and redirects to my cgi script.
Pekr:
23-Apr-2007
hah, nice - so, the thing is, that I can have URI, while file does 
not be located at that place? Kind of "virtual file"? :-)
Terry:
24-Apr-2007
I customized 'mod-rewrites'  for Cheyenne by intercepting the requested 
file in httpd.r  works great.. much more powerful than Aoache's mod-rewrite. 
 Same would work for 404s
Chris:
24-Apr-2007
REBOL []

install-HTTPd-extension [
	name: 'mod-qm

	order: [
		url-to-filename last
	]

	url-to-filename: func [svc req conflo][
		req/in/path: "/"
		req/in/target: form req/in/file: %qm.r
		req/file-info: info? req/in/file
		req/handler: select svc/handlers req/in/ext: '.r
		false
	]
]
Chris:
28-Apr-2007
My Cheyenne installation has been modified, but I've noticed crashes 
when adding a trailing slash to an existing file (eg. http://cheyenne/index.html/). 
 I think this happens out the box in mod-static -- when you do info? 
%/path/to/file.r/ and file.r exists, it will return info/type of 
'file but when you read %/path/to/file.r/ you get an error.  Is this 
correct? -- view 1.3.50.3.1 core 2.7.0
Will:
11-May-2007
## Error in [task-handler] :Make object! [
code: 500
type: 'access
id: 
'cannot-open
arg1: "/Volumes/data/che/Cheyenne/handlers/RSP.r"
arg2: 
none
arg3: none
near: [do load file]
where: 'do-cache
] !
REBOL Internal 
Error: #415

Program terminated abnormally.
This should never happen.
Contact 
www.REBOL.com with details.
Dockimbel:
13-May-2007
Looking again on the file handles exhaustion issue with a fresh eye, 
I found a case in the universe engine where file handles may not 
be released to the system. I'll make some test today about that and 
if the results are positive, I'll post a fix here for uni-engine.r
Dockimbel:
13-May-2007
What I found strange is that softinnov.org is running on uniserve 
for months, serving millions of files without such issue.  guess 
that our Linux server has some higher max file handles limit than 
OSX.
Dockimbel:
29-May-2007
Btw, the encapping system for Cheyenne is a little odd : to be able 
to run it in normal mode and encap mode without changing the source 
code, I wrote a special lib emulating the filesystem but in memory. 
I didn't had time yet to check if Ladislav's Include could do the 
job. My encapping system needs to generate a .encap-fs file, so it 
needs that Cheyenne be run in normal mode at least once. I'll document 
that in a few days.
Dockimbel:
29-May-2007
It's not that hard to write one, the hard part is to correctly set 
the execution order for each callback (each module competes with 
all other modules for a given callback event, and you have only 3 
possible positions, 'first, 'normal (middle) and 'last.) The loading 
order of modules in the config file (httpd.cfg) also impact the final 
order of callbacks execution. I plan to move to a much more simplier 
system for Cheyenne 2.0, it will loose some little flexibility, but 
it will be much more easier to write extension modules. But , that's 
long-term, i need first to reach 1.0 ;-).
Dockimbel:
29-May-2007
Watch out in the rsp.html doc file, the "Session Object" table is 
correct, but all the detailled explanations for the session properties 
are incorrect (coming from the old and obsolete API). Sorry for that, 
it will be fixed in the final release of this document tomorrow.
Dockimbel:
29-May-2007
I prefer the REBOL binary to remain small. I should put a mysql.r 
and cheyenne.r file somewhere on my website and give out the URL, 
so you could just : do http://.../mysql.rto install and run it.
Dockimbel:
29-May-2007
Nope, it's my fault, the uni-engine.r file in the archive is an old 
version. Give me 2 minutes, I'll update the archive.
Dockimbel:
29-May-2007
Cheyenne v0.9.10.0 re-released due to a wrong version of the %uni-engine.r 
file. Sorry for that. Download link: http://softinnov.org/tmp/cheyenne-r09100.zip
Dockimbel:
29-May-2007
Terry: normal RSP error, there's no session started, and no 'hits 
variable in session. I should have removed this file from there. 
Its clone in /testapp should work well, once you've logged in.
Dockimbel:
29-May-2007
Pekr, you're right, there's something odd with FF on the sixteen.html 
file.
Dockimbel:
29-May-2007
Yep, something odd it occuring with that file.
Terry:
1-Jun-2007
Ok.. Doc.. trying to make a mod called my-mod


In the mod folder i create a file .. my-mod.r  that has this code. 

rebol []

install-HTTPd-extension [
	name: 'my-mod

	order: [
	url-translate first
	]
	
	url-translate: func [svc req conf][	
	probe svc/client/remote-ip
	print "test"
	]
]

I added my-mod.r to the %mods/ [ .... block in cheyenne.r
Doesn't fire?
Terry:
1-Jun-2007
ok.. made some changes...  renamed the module: mod-my-mod.r   .. 
added this to the http.conf file
Terry:
1-Jun-2007
Cheyenne is very extensible... shoud be easy to build http based 
file uploaders, advanced logging... db connections, advanced file 
mapping, authentication, mod-rewrites without the regexp.. tons of 
stuff.
Dockimbel:
1-Jun-2007
That's because the DEBUG mode is activated by default in these beta 
releases. To get ride of it, just edit the httpd.cfg file , find 
the webapp "/testapp" option block and remove the 'debug keyword 
 (then restart the server).
Gabriele:
2-Jun-2007
could just mean renaming your .cgi file to .fcgi.
Terry:
2-Jun-2007
Another thing to note when downloading the PHP binaries is renaming 
the php.ini-dist file to php.ini
Dockimbel:
2-Jun-2007
Right, using 'do-SQL makes Cheyenne manage the connection for you. 
You need to define your DB connections specs in the httpd.cfg file, 
like this for example :
Dockimbel:
2-Jun-2007
Right, but only if you're inside a web-app container (defined in 
the config file). Otherwise, it's up to you to do the checking.
Graham:
2-Jun-2007
## Error in [conf-parser] : Error in conf file at:
remr odbc://remr !
Dockimbel:
2-Jun-2007
if you're using the odbc:// driver, like all RT's DB drivers, it 
requires a : first db-port to open the connection port, so you have 
to change the do-sql source a little bit (in %handler/RSP.r file), 
in do-sql source :
1201 / 484512345...1112[13] 1415...4546474849