ScriptBasic
February 05, 2012, 05:43:22 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Registration Disabled Send an e-mail to support @ scriptbasic.org to request a membership to this forum. (include desired forum name)
 
   Home   Wiki Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Help needed with installation  (Read 1246 times)
votan
Newbie
*
Posts: 7


« on: January 21, 2010, 12:48:11 PM »

Ok, I'm trying for a full day now to get sbhttpd to work on my windows system.
Can anyone give me full step by step instructions on how to get it to work? Including all things I have to install and configure additionally...

Thanx in advance
Logged
support
Administrator
*****
Posts: 369


« Reply #1 on: January 21, 2010, 01:47:22 PM »

Rick,

http://www.scriptbasic.org/forum/index.php/topic,112.0.html

This is my tutorial how to bring up SBHTTPD under Windows, Apache and MySQL.

As mentioned in the private e-mail, get MySQL working with the console interpreter (scriba) before using sbhttpd as a proxy server with Apache.


John
Logged
votan
Newbie
*
Posts: 7


« Reply #2 on: January 22, 2010, 02:53:44 AM »

I got it to work so far.. but as mentioned in my email, I want to test the raw capabilities of sbhttp without Apache and MySQL.... so, I have the server working so far without those two things... it is responding to requests.. but when I request a file, it always returns an error like:

Error has happened in the code
C:\scriptbasic\htdocs\app-bin\echo.bas: error &H76:syntax error, no syntax defintion matches the line or syntax defintion does not match the line

What do I have to do to fix that little last issue?

Thanx in advance...

Logged
support
Administrator
*****
Posts: 369


« Reply #3 on: January 22, 2010, 09:42:47 AM »

A few things to check.

Make sure your home directory in the config points to your app-bin directory. You are regenerating the binary format of the config with each change, correct? You are restarting sbhttpd each time you change the config, correct?

Keep in mind that sbhttpd doesn't process anything but Basic programs so images need to be served up by Apache.

Try a "Hello World" like CGI program first and then move on to echo.bas and beyond.

You could try running your echo.bas with scriba as a standard CGI script. (make sure it is in a executable cgi-bin directory in this case)

As an option, I offer setup and support services (fee based) if working through this on your own is getting frustrating. I remember my first time getting sbhttpd going and drove Peter Verhas nuts.  Smiley
« Last Edit: January 22, 2010, 09:48:26 AM by support » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!