Re: Trying to port fastcgi to JavaScript

David Birnbaum <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel,gmane.spam.detected
Message-ID <[email protected]>
On Fri, 8 Feb 2008, Franky Braem wrote:

>>> How do I configure Apache and mod_fastcgi so that all requests are passed 
>>> to wxJS_fcgi.exe? My goal is that all JavaScript files stored in 
>>> localhost/fcgi are executed by wxJS_fcgi.
>> 
>> I'm pretty sure that if you just change your external line to:
>>
>>   FastCGIExternalServer c:/xampp/htdocs/fcgi -host localhost:9000
>> 
>> it will try to connect to your local application on port 9000.
> Ok this works now. I was confused with the 'filename' parameter of 
> FastCGIExternalServer.
>
> Is it possible to do the same with FastCGIServer? Is it possible to start an 
> application that is not stored in the cgi directory?
> Something like this:
>
> FastCGIServer "c:/development/wxjs/wxjs2/bin/debug/wxjs_fcgi.exe" -port 9000
> AddHandler wxjs-fcgi .wxjs
> <Location c:/xampp/htdocs/fcgi>
> SetHandler fastcgi-script
> </Location>
> Action wxjs-fcgi wxjs_fcgi.exe

It's a little odd, but you should be able to add this in:

   FastCGIExternalServer "c://xampp/htdocs/fcgi" -host localhost:9000

FastCGI will start the App with the Server line, and you connect to it with the 
external server line.

David.
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.