Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
..... it's very simple... if you know what you're doimg, just like anything, can't just pick it up and expect to know how to use it
-
C0D4669447yNode is easy because you run a single command with low setup.
Apache needs a bit more love and needs to be setup for the environment your trying to create.
Without knowing in context what your setting Apache up for. It sounds like you have root ownership of the /HTML folder and accessing it with a user account that’s not permitted. You can set up groups or give ownership to your user. -
Linux434907y@Froot
LAMP > every other crap.
Apache configs are easy, I dont get why people think that is it hard.
Also, running node on port 80 and 443, good luck. -
Froot75407y@Linux What's the problem with running node on port 80 and 443?
And lamp is defenately not better than everything else 😆 It's the A and P in LAMP that are straight from the 90s -
Thanks guys! It\'s really that easy. But I'm not developing for PHP lol. I'm just not relieved until it's working on my machine. OCD.
-
Froot75407y@Linux Well either don't host on 80/443 or give it root privileges. I usually prefer to not host on 80/443 because I don't really want my web server to have root access. Not even Apache, scratch that, especially Apache
-
Linux434907y@Froot
Apache does not have root access lol.
Sorry to say that, but you are doing it wrong in this case. -
Froot75407y@Linux Hmm ok. Good to know. But how does it get to use port 80 then? I'm just curious at this point
-
Linux434907y@Froot
I use apache2 as a ReverseProxy. Then you can easily set up SSL too.
You will not notice any performance difference, because Apache does not serve any content itself, just proxies shit. So you will still keep the node performance. -
Froot75407y@Linux Well. Yeah 😄
I thought you were taking about having Apache serve PHP like in the good old 90s. I have no problem with Apache as a reverse proxy tho I would rather use nginx.
Tho I'm still curious how a program can get access to port 80 without root privileges -
Froot75407y@Linux I still don't get it but I'll go Google a bit and educate myself 😄
Anyhow, as long as there's no PHP being served directly from Apache or preferably no PHP at all, I'm fine with it 😆
Related Rants
-
gururaju53*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx65This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus60Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
Fuck these apache2 and nginx configuration that fucking make my life miserable. Why can\'t I fucking edit the files inside /var/www/html? Fuck that. Why can\'t I access a subdirectory inside it? Fuck! In Node.js, you can fire up your server pretty easily. Then you tell us that JavaScript sucks? Fuck me dead.
undefined
php
lamp
ubuntu
linux
fuck
/etc
config
frustration
js
javascript