« first day (1661 days earlier)      last day (3290 days later) » 

11:00 PM
Haha what a random site
lots of dating ones in my area lol
 
Yeah I might just go to that meetup
Not the dating one. The 010php one :P
 
hahaha :D
dating meetups
I've never seen a dating one in the netherlands
...
 
everyone must be happy then
 
anyways, dutch girls are rarely shorter than me so it's a bit awkward anyways :D
 
hehe
I'm also not tall like at all
 
11:02 PM
how tall are you?
 
1.70ish
 
ah, like me
that's not really tall for a Dutch guy
unfortunately
 
Im 1.77
:D
 
Meh. I can go into all the rides with a "you have to be this tall" sign so it's ok
 
hahaha :D
I have problems finding a girl that's not taller than me :D
usually they are :D
Harry Potter is also short so this keeps me calm :D
has anyone of you guys used React PHP
any opinions?
 
11:06 PM
Nope sorry. Only glanced over it
 
@PeeHaa so I am thinking of writing my first unit test :D. is testing a method for getting data good to test.
To see if it retrieves anything
 
@StephenWolfe no
 
unit tests with DB are not a good idea, sorry to say that
they are more to check whether the component you wrote works properly
also you have test coverage which checks how many percent of all available class paths you have covered with your tests which is nice
 
11:11 PM
yeah, it's quite cool
btw try out PHP storm if you haven't already, it's quite cool
 
11:33 PM
@ziGi Hey, a quick question if you wouldn't mind, is it possible for me to have my website in a subdirectory in apache but have the web server treat it as if its the root?
Like my website at the moment is in /var/www/html, but I'd rather move it to /var/www/html/website so it's tidier
But at the same time the user still needs to be able to access /var/www/html/api so I can't just change the DocumentPath
 
5EUR and I will answer you
I am doing overtime right now
 
Thanks very much
 
:D
 
@5EUR could you help please?
Oh sorry
 
ahahaha :D
 
11:36 PM
I missed that you said you will answer as well, it's late lol
 
it is
 
I went full retard :p
 
I was at my bed and you woke me up
:D
it's easy
 
Oh shit
sorry about that
 
just change the document root
don't worry
change the Document root to the inner directory
 
11:37 PM
When you say document root, do you mean change that in the sites-available bit?
 
in apache.conf
 
ok 1mo :)
 
DocumentRoot "/var/www/html/website"
<Directory "/var/www/html/website">
 
Ok I've found loads of the Directory definitions
So I just define another?
 
in linux you basically have sites-available and sites-enabled
am, I am not sure
you can do it with Vhosts as well
which is a cleaner way
 
11:39 PM
ok doing this now, will be 2 secs
ok here is my problem
 
tell me child
 
Now I have changed that, the root is in that path which is great
;)
But
If I try to access /api/ which is at /var/www/html/api/ then I can't get there
Because I assume it's trying to find /api/ from var/www/html/website/
and going /website/api/ doesnt exist
 
I see
well change the bit that does the assumption
you should have a .htaccess
 
Oooo ok
 
also you have a router I guess right?
 
11:41 PM
Stick that in the /website/ ?
 
you use some kind of an mvc
 
Yes
 
yeah
stick it in the /website/
 
beautiful
you wonderful human being
 
haha :D
 
11:42 PM
so basic yet I couldnt think of it
Thanks so much and sorry for waking you up :)
 
haha no worries
 
good night :)
 
I had to close my tab anyways
no worries
see ya
 
cya!
 

« first day (1661 days earlier)      last day (3290 days later) »