setting up revCGI
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
setting up revCGI
Hi, how do I setup revCGI on a Windows Apache Server? I'm not using WAMPP or XAMPP or any other same product.. I'm using pure Apache Server... As of now, it runs with MySQL and PHP support and it's running quite smoothly, my question is how do I implement the revCGI to this? The one on HyperActiveSoftware's tutorial only involves the IIS server for Windows but no Apache for Windows... Thanks in advance for the help..
Re: setting up revCGI
Have you read my post ?
http://forums.runrev.com/phpBB2/viewtop ... 755#p21119
I guess it's what you're looking for. I've installed RunRev as CGI on a Windows PC, with Apache. It's working fine.
By the way, and maybe you haven't go the news, you could perhaps consider RevServer, the new product from RunRev :
https://secure.runrev.com/store/browse/ ... t=RVSLSERV
http://forums.runrev.com/phpBB2/viewtop ... 755#p21119
I guess it's what you're looking for. I've installed RunRev as CGI on a Windows PC, with Apache. It's working fine.
By the way, and maybe you haven't go the news, you could perhaps consider RevServer, the new product from RunRev :
https://secure.runrev.com/store/browse/ ... t=RVSLSERV
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
Re: setting up revCGI
I've read your post, but you were using some other program... I am running under Apache alone as in C:\Program Files\Apache Software Foundation\Apache2.2\. Now from there, I can't seem to find the Home folder that you defined on your post. That's why I couldn't work with your post.bangkok wrote:Have you read my post ?
http://forums.runrev.com/phpBB2/viewtop ... 755#p21119
I guess it's what you're looking for. I've installed RunRev as CGI on a Windows PC, with Apache. It's working fine.
By the way, and maybe you haven't go the news, you could perhaps consider RevServer, the new product from RunRev :
https://secure.runrev.com/store/browse/ ... t=RVSLSERV
As for the revServer, thanks for the heads up because I haven't been here in a while... I think I'll wait for the stable release to come out.. Right now, all I need is just neatly packaged on my copy of 3.5.0-gm-2..
Re: setting up revCGI
I wouldn't worry about that.shadowslash wrote: I've read your post, but you were using some other program... I am running under Apache alone as in C:\Program Files\Apache Software Foundation\Apache2.2\. Now from there, I can't seem to find the Home folder that you defined on your post. That's why I couldn't work with your post.
"/home" is just the "htdocs" directory created by UniServer (which is only a kind of simplified installer for Apache).
My point : try to follow the procedure, by using the "htdocs" directory created by Apache.
it should work.
The only real problem I had was with path names : relative or absolute.
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
Re: setting up revCGI
I tried that but apparently, my cgi file only rendered as a text file... I know I'm pointing it to the right path of the engine though..bangkok wrote:I wouldn't worry about that.
"/home" is just the "htdocs" directory created by UniServer (which is only a kind of simplified installer for Apache).
My point : try to follow the procedure, by using the "htdocs" directory created by Apache.
it should work.
The only real problem I had was with path names : relative or absolute.
Re: setting up revCGI
Okay. I did it.
I've installed Apache 2.2.
-STEP 1
I put the file C:\Program Files\Revolution Enterprise\3.5.0-gm-2\Runtime\Windows\x86-32\standalone
Changed the name to "revolution"
into E:/cgi-bin/
(I use E: drive instead of C: because i'm under Vista, so to make modification into the C:/programs directory is painful).
-STEP 2
in E:/cgi-bin/ i put the file hello.cgi
The file contains :
-STEP 3
And then, in the httpd.conf file (located in the conf/ directory of Apache)
I've located and changed the line :
and a few lines under :
That's the way to tell to Apache where to look for cgi engine and files.
Result : http://localhost:8080/cgi-bin/hello.cgi displays correctly "hello world".
Last but not least, I put maximum authorizations on the file "revolution".
I've installed Apache 2.2.
-STEP 1
I put the file C:\Program Files\Revolution Enterprise\3.5.0-gm-2\Runtime\Windows\x86-32\standalone
Changed the name to "revolution"
into E:/cgi-bin/
(I use E: drive instead of C: because i'm under Vista, so to make modification into the C:/programs directory is painful).
-STEP 2
in E:/cgi-bin/ i put the file hello.cgi
The file contains :
Code: Select all
#!E:/cgi-bin/revolution -ui
on startup
put "Content-Type: text/plain" & cr & cr
put "Hello World!"
end startup
And then, in the httpd.conf file (located in the conf/ directory of Apache)
I've located and changed the line :
Code: Select all
ScriptAlias /cgi-bin/ "E:/cgi-bin/"
Code: Select all
<Directory "E:/cgi-bin">
Result : http://localhost:8080/cgi-bin/hello.cgi displays correctly "hello world".
Last but not least, I put maximum authorizations on the file "revolution".