Open richardtallent opened 9 years ago
Your node path within the cgi-node.js file should not contain quotes. Try changing:
To:
I get an internal server error if I put quotes around the path while running in Linux.
If this does not help let me know. I have a Mac machine I can try running the configuration on.
I'm trying to set up cgi-node on OS X Yosemite using the built-in Apache server, and I must be missing a step somewhere. The site is operational otherwise.
Steps taken:
/Library/WebServer/Documents/tallent/bin/
-- to be clear, the site is a vhost running in the "tallent" folder off the usual site root)/Library/WebServer/Documents/tallent/cgi-bin
)!"/Library/WebServer/Documents/tallent/bin/node"
(I also tried
/usr/local/bin/node
, same result.)Added an .htaccess file to site root folder with the following two lines:
Action cgi-node /cgi-bin/cgi-node.js AddHandler cgi-node .jss
<? cgiNodeInfo() ?>
When I access the site at "http://blah/test.jss", I get the following error:
There's nothing awry in Apache's error_log.