« first day (3259 days earlier)      last day (1693 days later) » 
01:00 - 22:0022:00 - 00:00

10:00 PM
have you enabled mod rewrite in the main cfg?
 
It should be something super simple that isn't fucking working
I don't know
Do I need to?
 
yeah there is directive for your web root
 
which config file are we talking about?
 
thanks, I'll look at that. But according to the docs, I should be able to do it in the virtual host
 
10:04 PM
You should use nginx
 
im thinking about it now, you actually dont need mod_rewrite for redirections i think
so the stuff i posted on top should work
http is working as intended?
 
Right, that's what I read in the apache docs but it's not working for me
It outputs some success json which I'm unsure where that's even coming from
 
<VirtualHost *:80>
ServerName www.yourdomain.com
Redirect permanent / yourdomain.com
</VirtualHost>
That should work
 
so not really
I know it should but it isn't :P
 
whats that php?
 
10:06 PM
unfortunately
 
Did you restart apache?
 
multiple times
 
maybe the webroot is not ok
 
Ok, then use nginx
 
lol
 
10:06 PM
actually apache is better for php
 
rm -rf / --no-preserve-root is better for PHP, but we don't always get what we want
 
lol
@codeMagic can you make a gist with the configs?
 
maybe but it's on another computer so I'd have to move
but the port 80 config is what Raghav has up there
 
in that case it should work or throw an error
maybe its the browser cache, try curl-ing it
 
gah
 
10:08 PM
@RaymondArteaga Happy to hear that !
But I'm off to sleep time flies when... well I dk what I was doing but it's sleep time
 
I emptied it but still could be I suppose
 
Good night
 
night night
 
can you give me the domain?
 
But the current prod server doesn't have that and it works so it's doing it differently. I'll have to check some other files I guess but I'm pretty sure the .htaccess files are the same and don't have any redirecting
I'm not sure
app.freshtemp.com
 
10:10 PM
Redirects for me
Your browser might have a stale cached request
Try using incognito
 
shit, ya sorry it will
 
Or your phone
 
I did
both
 
Try reinstalling your OS
 
no, that one works but I'm trying to swap out boxes in the load balancer
 
10:10 PM
Nah
Buy a new computer
 
I'm going to reinstall you
 
Enter JBis Product Key:
 
null
 
That works but when we swapped out the boxes at an ungodly time this morning the new one isn't redirecting
 
So swap them back
 
10:11 PM
goddammit, I did
 
Also if it is behind a load balancer, the success json might originate there
 
But I need to swap them back again once it's working
 
yeah its redirecting for me as well
 
An error occurred with JBis_Install.exe
 
no because it happens on the new box when it's not in the load balancer
the load balancer currently balances one load shrug
 
10:13 PM
Is your virtual host set up to apply to all hostnames?
If you usually connect via a load balancer it might be set up to only answer to internal domains for the redirects
So when you connect directly it triggers another vhost
 
also if you have a LB you should do your ssl termination and redirections on the LB itself
 
@codeMagic What OS are you on? Try curling it
 
Also make sure to set up SSL internally between the LB and the host in case you have sketchy people on your internal network
Just to be safe, don't send traffic over the internet, use fax machines over a private phone network
 
there's different configs with separate virtual host for each host name
 
And you're positive you're hitting the correct one?
Also, are you sure that your test requests are hitting the server directly and not the load balancer?
 
10:16 PM
oh, maybe that's how it's being done then, on the load balancer. I haven't done much with them so I'll have to look into that
yes
 
one more note, use docker
 
Normally, SSL redirects would be handled at a LB level (or at a cloudflare/fastly level if you can)
Ideally, both
Don't use docker, use lxc
And switch to nginx for sanity reasons
 
or even better Windows IIS
 
No.
 
php runs smoothly as butter on IIS and windows
 
10:19 PM
We're supposed to be helpful friends, Ivan.
 
you need like 15 months to set it up tho
in that case, dont ever try to use IIS ever, for anything
@RaghavSood have you used lxc in prod?
 
Nah, only played around with it
I currently have no need for container stuff in prod
Other teams use k8s/docker tho
They seem more stressed out in life
 
lxc sounds fun, i havent used it so far
 
It has its benefits, but not even close to a docker-level ecosystem
 
runs on hypervisor or on a bare host?
 
10:28 PM
There is lxd if you want to run it on hypervisor
I mostly just run it on my laptop atop ubuntu
You can run in userspace mostly
I haven't used lxd tho, my hypervisor experience is limited to qubes for now
 
hm noice, il give it a go when i get some time
 
I wish I had more time to play with cool stuff like this :(
 
yeah same
also for anyone looking to get started with k8/docker
or you need to set up things really fast
here is this rancher.com
 
Rancher is nice, but usually overkill unless you're looking at 1000s of containers or really need to avoid vendor lock in
Kubeadm works well enough in most cases
And if you really want to know what you're doing, spend a month on github.com/kelseyhightower/kubernetes-the-hard-way
 
its nice for simple setups as well
they had their own orchestrator which had haproxy preconfigured and ipsec connection between containers
days before k8
 
10:36 PM
I would like to use docker (we use that and k8s on other systems) but this is a legacy platform that we're fixing up and shouldn't have even spent this much time on it. But, ya know, scope creep is great
 
You can also look at nomad if you're using other hashicorp stuff (we use vault and consul)
 
i kinda like zookeeper or aws kms
 
We use multiple layers, depending on the severity of the secret
 
there is so much tools and i usually try to stick everything under one roof
 
For revocable, non-money related API keys we use GCP service accounts to pass it in as env vars
 
10:40 PM
and in one stack mostly
 
For stuff we can't afford to mess up, we encrypt it, stick it in vault, then decrypt inside the service
Yeah, always tons of options, need to find what works for you and stick to it
Unlike @codeMagic, who has found that Apache doesn't work for him and still sticks to it :D
 
secrets secrets are no fun. secrets secrets hurt someone
 
shit man, im really thinking of going back to full on devops these days
 
unfortunately, codeMagic doesn't have much of a choice on this one and just wants to be done with it to move on to something exciting
 
php is always exciting :)
 
10:43 PM
flagged
 
One must do things right, cM, or they will come back to haunt you in the future
 
Well, hoping to shut down that system within 6 months or so
 
@codeMagic A small price to pay for secrecy
 
i heard php has @ annotation that basically blocks every error from the output
and drupal is riddled with those @
and drupal runs like 2% of entire internet
 
i don't know about that
but I've also been mostly doing devops the last couple months and as little actual php as I can get by with
 
10:46 PM
The only solution is to rewrite everything in vhdl and bake it into silicon
 
my poor teammate has been doing most of the actual code
 
I'll hopefully be getting back to .net and angular in another month or two
> This is the worst advice I’ve ever heard. This is an old post so I assume (hope) you realise that now, but it ranks very highly on Google, so if you just got here from a search:

DO NOT DO THIS
agreed
 
hah yeah
i mean why would anyone use this, like ever
and as i said, drupal core is full of this stuff
 
customer service: the user is having this issue
engineer: what's the error?
customer service: there is no error
engineer: shrug
 
10:50 PM
#wontfix
 
nothing to fix. there's no error. so everything is working as expected :D
 
if there is no body, there is no crime
 
exactly
 
Maybe Tristan putting Adam in a lake had a more nefarious reason
 
lol you can have abstract properties (or actual without backing fields) in the interfaces in kotlin
 
11:05 PM
I have roughly 36 hours to learn prolog
How hard can it be
 
lol why?
 
Have a test on it tomorrow
Evidently we've spent the last 2.5 months learning it
 
lol for the uni?
 
Yup
 
damn, such a waste of time
 
11:08 PM
I don't go for the class since it clashes with my math course, and the math course isn't recorded
I keep telling myself I'll watch the recordings
But I never do
 
36 hours...tomorrow...I'm not sure you understand how hours work
 
So here we are
 
the only thing that was good when i went to uni, was cisco ccna
 
HI ALL!
 
@codeMagic It's quite early in the day for me
 
11:09 PM
sup
 
36 hours from now is ~11 PM tomorrow
All our tests happen at night
After the regular classes are done
 
ah, strange but ok
Also, I have no idea where you are anymore. haha
 
last I remember, you were traveling to Australia, an Australian like place, or somewhere
 
@TristanWiley o/
 
11:10 PM
@TristanWiley 24 0 days since the last disappointing conversation
 
@IvanMilisavljevic that's what I said, Australia
Yo, tristan
 
ah nooo noo, nz is not australia :D
 
@IvanMilisavljevic That's actually great, I should go do some stuff on that list
 
I know but I also know that it gets a rise out of people. Like when I called our Spanish friend formerly Emmanuel, formerly The Mexican, a mexican. It gives me pleasure
 
Meh, doesn't bother me, life is too short to worry about what other people think
Especially when they are the thoughts of people who write PHP and use Apache in 2019
 
11:14 PM
touche
People who use apache and write php in 2019 don't have much else to do besides try and piss off other people
 
The smart ones would try and learn something new and free themselves of their hardships
 
"The smart ones"
I agree with that
 
I needed something for China Team to do so I told them to build a temperature monitoring platform and get cM's company to fix it up
you're welcome cM
 
lmao
if you really want to send them on a wild goose chase, tell them to ask for documentation
 
lol
 
11:26 PM
ice cream time boiz
 
you scream, I scream, we all scream for ICE CREAM because Raghav is using our bio heat for energy
 
edit
 
post-edit
 
dave is worthless with apache questions post-edit
 
not ashamed of it either
apache sux
 
11:35 PM
ya but that was the best I had this late at night
and it seemed like too long since I've given you shit
 
fair
 
11:52 PM
might fuck around and microdose on acid
🤘🏽😤
and go full silicon valley
i'm sorry i abuse r15 as my personal diary
 
01:00 - 22:0022:00 - 00:00

« first day (3259 days earlier)      last day (1693 days later) »