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

[REBOL] Re: Fixed, sort of *******Fun with Prohosting and REBOL

From: peoyli:algonet:se at: 22-Apr-2001 12:24

Hi, I just tried out the instructions at the page you mentioned a couple of days ago, with success.. Short version: just copy the correct REBOL/Core version _anywhere_ into the directory where you have the html files (could be different between accounts as it is for me, one has a /html directory, and another doesn't) Make the REBOL executable executable (chmod 711) Check what your home directory is ( and use this to create the command line at the top of each script. I've put my REBOL binary in a 'bin' directory at the top of my homepage tree, for this account my home directory is /usr/home2/peoyli/, and the html files are located in a 'html' directory, so the full command line for me is: #!/usr/home2/peoyli/html/bin/rebol --cgi Here are some other ProHosting notes: text/plain is quite unusable, since ProHosting adds banner code at the end of the generated output. Use HTML output with <!--<killbanner>--> and <PRE> </PRE> around text, if you want something like text/plain. Use validated HTML code, which lowers the chance of ProHosting's banner to destroy the whole page. They have some error in the thingie that adds the banner, which causes badly coded pages to be totally destroyed. This is a GOOD thing, but only if the banner code itself wouldn't destroy the validity of the whole page. I have mentioned this to staff at ProHosting, but they all the time tell me to purchase "the real thing".. You can put your CGI scripts anywhere in your HTML directory tree. This helps you keeping a clean file structure of the whole page, with scripts belonging to a specific page in the same location as the page itself. You (usually) have no shell access, BUT you can use one of my creations to gain pseudo-shell access through a CGI script :). It is written in Perl, because the need of executing system commands, and that you probably don't want to give anyone at ProHosting your ViewPro key.. Despite the problems I have had with ProHosting, I still feel they are the best free homepage hosting service. /PeO