Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Server Question

 [1/9] from: chd:1staccess:ca at: 6-Sep-2007 7:54


We have an ISP that provides a LAMP set-up on a shared server running Linux. They want nothing to do with REBOL on their servers! (Fools) Is it possible to put the REBOL interpreter anywhere on the server and still have it run? For example: /home/webaddress/public_html/cgi/myapp.r In this case, the myapp.r is in the standard cgi directory. Could the interpreter be placed in the 'webaddress' directory or in the cgi perhaps??? Header in the myapp.r file would be: #! /home/webaddress/rebol --csi Would the interpreter be found by the server? In Windows apparently Apache runs the interpreter. Is it possible to have Apache run it on other systems? On OSX the Unix Shell runs it, I'm not sure why these are different. thanks ~chris Canada

 [2/9] from: carlos:lorenz:gm:ail at: 6-Sep-2007 10:26


Hi Chris, The guys at my ISP think the same unfortunatelly and I have my REBOL scripts running ok. All I did was to upload REBOL interpreter an my scripts to cgi-bin directory. The scripts have the extension .cgi and the first line of each one is: #!rebol -cs I guess this is more detailed at Carlsīs tutorial on CGI at REBOL website Cheers 2007/9/6, CHRIS DWYER <chd-1staccess.ca>:
> We have an ISP that provides a LAMP set-up on a shared server running > Linux.
<<quoted lines omitted: 16>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

 [3/9] from: chd:1staccess:ca at: 6-Sep-2007 10:07


Thanks Carlos What is your ISP running? ~chris

 [4/9] from: carlos::lorenz::gmail::com at: 6-Sep-2007 11:10


Debian Linux 2007/9/6, Chris Dwyer <chd-1staccess.ca>:
> > Thanks Carlos > > What is your ISP running? > > ~chris > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

 [5/9] from: tim-johnsons:web at: 6-Sep-2007 7:37


On Thursday 06 September 2007, Carlos Lorenz wrote:
> Hi Chris, > The guys at my ISP think the same unfortunatelly and I have my REBOL
<<quoted lines omitted: 3>>
> The scripts have the extension .cgi and the first line of each one is: > #!rebol -cs
If the rebol binary is in cgi-bin and let's say cgi-bin is accessable to the outside world as http://www.carlos_domain/cgi-bin, then what happens if someone points there browser to http://www.carlos_domain/cgi-bin/rebol ?? The result should be that rebol loads, the user gets a server error and rebol stays resident. And everytime this is repeated, another image of rebol is loaded into memory, potentially releaving the server of all memory. I've had ISPs make a similar to me and declined. Tim

 [6/9] from: carlos:lorenz:gm:ail at: 6-Sep-2007 13:25


Tim, Why Carlīs tutorial did not mention that? 2007/9/6, Tim Johnson <tim-johnsons-web.com>:
> On Thursday 06 September 2007, Carlos Lorenz wrote: > > Hi Chris,
<<quoted lines omitted: 20>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

 [7/9] from: sabufrancis:rediffmail at: 6-Sep-2007 22:06


Hi Servers hosted using CPanel hosting systems can work around this, if I am not mistaken. The server accesses files from a folder called public_html within the "home" folder of the user. And the FTP access to the user is at the home folder level and not directly into the public_html folder. So we can always place the rebol executable in the home folder, away from direct access from a browser. This is what I would do: The files of the server are hosted at: /home/abc/public_html I get access to /home/abc/ I create a folder say reb /home/abc/reb Then I place rebol executable there In at the top of cgi files, I give the following #!/home/abc/reb/rebol -cs Rebol [ ] ;....etc Nevertheless, if a hosting company has prohibited binaries, it can still be illegal. The execution of Rebol may still turn up in some log file somewhere. (But I am not an expert on this) Regards Sabu Francis

 [8/9] from: moliad::gmail::com at: 6-Sep-2007 13:22


yes, pretty easy on unix, and probably part of the admin job.... if they log the results of ps command (or other more advanced tools) in **nx... it will pop up immediately. -MAx On 9/6/07, Sabu Francis <sabufrancis-rediffmail.com> wrote:

 [9/9] from: tim-johnsons::web::com at: 6-Sep-2007 11:45


On Thursday 06 September 2007, Carlos Lorenz wrote:
> Tim, > > Why Carl=B4s tutorial did not mention that? >
Don't know.... I'm being presented with a similar situation. I'm going to recommend to the sysadmin that putting rebol in the cgi-bin directory would be a bad idea and suggest that they set up a local /bin directory that my client could use. So we would have something like this: !#/home/woods/bin/rebol -cs Since I have admin rights on my workstation, then I could set up user `woods` with a bin directory and a symlink to rebol so I don't have to change the she-bang line when I upload. and it looks like Sabu has an alternative...... cheers tim

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted