Howdy,
Looking for a little bit of help here on DreamHost’s Passenger integration – Let’s see how much preemptive detail I can provide. Any and all help would be greatly appreciated!!
-
I’m on a VPS
-
Utilizing version:
[ps21170]$ node -v
v12.18.3 -
.htaccess:
[ps21170]$ cat .htaccess
PassengerNodejs /home/familyc22/.nvm/versions/node/v12.18.3/bin/node -
app.js
var http = require(“http”);
http.createServer(function(request, response) {
response.writeHead(200, {“Content-Type”: “text/plain”});
response.write("Hello World. This page is running Node.js version: ");
response.write(process.version);
response.end();
}).listen(8888);
- tree:
familyc2
- tmp/
– restart.txt - public/
- app.js
- .htaccess
- Site after node app.js
- Site after: touch tmp/restart.txt
(Blank – nothing on it at all) - No errors in http/errors.log
- Access seen in access.log, though
I’ve followed the NPM configuration guide twice, the bin/node file for the version I am using exists and is set as the default. Nothing is found in the console log for visiting the site either. I’m at a complete loss as to what I could be doing wrong. Any and all help would be greatly appreciated! Thank you for your time and consideration.