deda-ca / cgi-node

CGI Node.js complete module to replace PHP on shared hosting such as GoDaddy
http://www.cgi-node.org/
MIT License
172 stars 21 forks source link

404 ErrorDocument to handle request #23

Open salfredogonzalez opened 8 years ago

salfredogonzalez commented 8 years ago

I check that i install correctly the node version that is 20+ ver 4.2.1 into:

!/home/account/bin/nodejs/node <-- the last is the bin

!/home/account/bin/nodejs/sessions

the bin folder is 755, the node file is 755 i create a subdomain to use nodejs, so iinside of my subdomain i got cgi-bin, i use this directory 755 permission to save cgi-node.js ver 2.0 with the changes above, adding .jscript to the variable EmbededScriptExtensions.

I create the .htaccess file to subdomain folder like you show in the webpage.

also i create the cgiNodeInfo.jscript

I receive a Forbidden 403 to the subdomain and also it says that i have ErrorDocument to handle the request.

Can you give some ideas here, please?