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 Thu, 7 Feb 2008, Franky Braem wrote: >>> I configured Apache as follows: >>> >>> LoadModule fastcgi_module modules/mod_fastcgi.dll >>> FastCGIExternalServer >>> "c:/development/wxjs/wxjs2/bin/Debug/wxJS_fcgi.exe" -host localhost:9000 >>> <Directory c:/xampp/htdocs/fcgi> >>> SetHandler fastcgi-script >>> Options execCGI >>> AllowOverride None >>> Order allow,deny >>> Allow from all >>> </Directory> >>> >>> But when I load http://localhost/fcgi/test.wxjs, I get a server error >>> and see the following in the logs: >> >> Your ExternalServer path and your SetHandler path don't match up; it's >> trying to launch a dynamic application, and that doesn't appear to be >> working. >> > 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. David. ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/