1. RE: Web forums
Ken Rhodes wrote:
> Andrew Hall wrote:
> >
> > I'm confident that, with enough time, one of us here could come up with
> a
> > forum system that matches phpBB feature for feature. A "euBB" would be
> > great, but someone's already done the work for us. Why reinvent the
> wheel?
> >
>
> My guess is that RDS consider's the advertisement value of
> "Powered by Euphoria" to be well worth their time and effort
> to use Euphoria to develop the EuForum.
Yeah, you're probably right. I guess I'll have wait and see...
Andrew Hall
2. RE: Web forums
Al Getz wrote:
> I think the new EuForum is pretty good, so what's the problem?
No doubt. I think it IS the best yet. I also think it could be a lot more,
but that RDS probably doesn't have the time to invest in making it a true,
full-featured bulletin board. Of course, I'm always apt to be proven wrong.
Andrew Hall
3. RE: Web forums
Andrew Hall wrote:
>
> Ok..I have a server created (already took care of security stuff) and I can
> handle simple html..no problem..
>
> How do I get the cgi to work? I'm using the interpreted euphoria....Can
> someone give me a simple demo, as well as tell me..do I have to have the
> euphoria program within the apache directories? or what?
>
http://www.rapideuphoria.com/cgi.tar.gz
should have enough to get you started. It was written for Linux,
if you're using Windows the paths will be different.
But someone here will know what to do.
Regards,
Irv
4. RE: Web forums
irv mullins wrote:
>
>
> Andrew Hall wrote:
> >
> > Ok..I have a server created (already took care of security stuff) and I can
> > handle simple html..no problem..
> >
> > How do I get the cgi to work? I'm using the interpreted euphoria....Can
> > someone give me a simple demo, as well as tell me..do I have to have the
> > euphoria program within the apache directories? or what?
> >
>
> <a
> href="http://www.rapideuphoria.com/cgi.tar.gz">http://www.rapideuphoria.com/cgi.tar.gz</a>
> should have enough to get you started. It was written for Linux,
> if you're using Windows the paths will be different.
> But someone here will know what to do.
Also, one of the ways I got information about setting up CGI in Apache
was to find out how to configure php, perl, etc., for Apache. It's
basically the same, you just replace those language components with
EUPHORIA's... :)
I've got a FreeBSD box serving EUPHORIA CGI via Apache and a
Windows XP box serving EUPHORIA CGI via IIS. If I can set those
up, anybody can.
5. RE: Web forums
Michelle Rogers wrote:
>
> I did the IIS stuff in XP, then thought that didn't support cgi (it was
> doing html, fine)...so I got the apache, too...
>
> So, can I just go back to the IIS and do cgi with that? And, if so, how do
> I do that?
Start here: http://my.execpc.com/~keithp/bdlognt.htm
Then Google after that.
6. RE: Web forums
Michelle Rogers wrote:
>
> So, can I just go back to the IIS and do cgi with that? And, if so, how do
> I do that?
If you can wait until Monday, I can review
my settings and get back with you. ;)
7. RE: Web forums
cklester wrote:
>
>
> Michelle Rogers wrote:
> >
> > So, can I just go back to the IIS and do cgi with that? And, if so, how do
> > I do that?
>
<snip>
>
what version of IIS do you have?
this is a link covering IIS3 & 4 with Perl, but is largely
applicable.
http://www.whitecrow.demon.co.uk/steve/iis4.html
or
http://support.microsoft.com/default.aspx?scid=http%3A//support.microsoft.com%3A80/support/kb/articles/Q245/2/25.asp&NoWebContent=1
in the steps on configuring perl
replace
full path to perlis.dll\perlis.dll
with
C:\euphoria\bin\exw.exe %s %s
--"ask about our layaway plan".
--
8. RE: Web forums
Michelle Rogers wrote:
>
> *sighs and kicks the computer in frustration*
>
> ok..ok..I guess I'll wait until Monday...
> I've gone back to IIS instead of Apache..and I've gotten it to the point
> that it's apparently TRYING to run a CGI...but now it will eventually do a
> CGI error page, sayinging it timed out while trying to do the CGI
> application.
>
> if you want to see what I'm talking about..go to..
>
> <a
> href="http://kituwah.hopto.org/test.html">http://kituwah.hopto.org/test.html</a>
Well, we really can't tell much from that, but I would try
putting the full url there, instead of just the \cgi-bin\test.exw,
then I would add to the top of your cgi script a crash_file()
to direct error messages to somewhere so you can take a look at them.
If you do not get a crash_file(), then that might indicate that
exw isn't being executed at all.
Beyond that, it may be a problem with permissions, and since you're
running Windows, I can't help there.
Regards,
Irv
9. RE: Web forums
Michelle Rogers wrote:
>
> *sighs and kicks the computer in frustration*
>
> ok..ok..I guess I'll wait until Monday...
> I've gone back to IIS instead of Apache..and I've gotten it to the point
> that it's apparently TRYING to run a CGI...but now it will eventually do a
> CGI error page, sayinging it timed out while trying to do the CGI
> application.
>
> if you want to see what I'm talking about..go to..
>
> <a
> href="http://kituwah.hopto.org/test.html">http://kituwah.hopto.org/test.html</a>
>
> Michelle Rogers
I'm guessing that since it attempts to
execute, that you need to add a console for the stdout
http://support.microsoft.com/default.aspx?scid=kb;EN-US;190002
If you have the registered version of Euphoria you can
bind the exw into an exe. If the exe works then the problem
is in the script mapping.
--"ask about our layaway plan".
10. RE: Web forums
Michelle Rogers wrote:
>
> I've gone back to IIS instead of Apache..and I've gotten it to the point
> that it's apparently TRYING to run a CGI...but now it will eventually do a
> CGI error page, sayinging it timed out while trying to do the CGI
> application.
That usually signals that your program stopped because of a bug or something.
Check the folder in which the test.exw file is and see if there's an
"ex.err" file. If there is, fix the problem it describes and try again.
11. RE: Web forums
cklester wrote:
>
> Michelle Rogers wrote:
> >
> > I've gone back to IIS instead of Apache..and I've gotten it to the point
> > that it's apparently TRYING to run a CGI...but now it will eventually do a
> > CGI error page, sayinging it timed out while trying to do the CGI
> > application.
>
> That usually signals that your program stopped because of a bug or something.
> Check the folder in which the test.exw file is and see if there's an
> "ex.err" file. If there is, fix the problem it describes and try again.
I do not know about iis, but using Apache on Linux, it is possible that
the Euphoria interpreter may not have enough privileges to write that
ex.err file where it wants to. So you might have to set up a separate
folder for those error messages, writable by all. Then redirect the
error messages to that folder using crash_file()
Irv
12. RE: Web forums
irv mullins wrote:
> cklester wrote:
> > Michelle Rogers wrote:
> > > I've gone back to IIS instead of Apache..and I've gotten it to the point
> > > that it's apparently TRYING to run a CGI...but now it will eventually do a
> > > CGI error page, sayinging it timed out while trying to do the CGI
> > > application.
> > That usually signals that your program stopped because of a bug or
> > something.
> > Check the folder in which the test.exw file is and see if there's an
> > "ex.err" file. If there is, fix the problem it describes and try again.
> I do not know about iis, but using Apache on Linux, it is possible that
> the Euphoria interpreter may not have enough privileges to write that
> ex.err file where it wants to. So you might have to set up a separate
> folder for those error messages, writable by all. Then redirect the
> error messages to that folder using crash_file()
On both Windows and FreeBSD, I've always found
the ex.err file in the cgi-bin (or folder) where
my apps were located. I do recall having to give
the user that runs Apache permission to write...
I think. My memory is fuzzy on that now. :/