88
Linux
11d

Wife - my site is not working, everything in the code looks correct. But it is only throwing me 404 all over

Me - "blaming the teacher for giving bad shit"

Wife after googling - I fixed it, you have forgot to enable .htaccess in the virtualhost

FFS how long have I been this stupid?

Comments
  • 18
    Yesterday around 2 AM i tried to fix a "bug" where the PHP script would print some posts that wasnt supposed to be printed. I was getting tried so i uploaded the same script i had on my desktop to the web-server, apparently it fixed "the bug". Seems like i forgot to upload the updated script from 2 weeks ago. 30 minutes of my life wasted.
  • 7
    @Frederick Ill have to admit that this happens more often than Id like it to be..
  • 0
    Why am I keep seeing wifi instead of wife???
  • 0
    Now tell me, why exactly do you use Apache?
  • 1
    @localjoost

    simple - it is more flexible, easier to configure and understand, .htaccess, and 2.4 is fast (with no real difference from nginx).
  • 0
    @Linux I guess I need to do an actual performance comparison soon
  • 1
    @localjoost

    Most of the performance comparisons out there (and 100% of the ones NGINX have published) is comparing a badly configured apache 2.2 or apache 2.2.
  • 0
    I once did a small comparison when I got my first Ubuntu server and actually noticed a difference. Maybe it was just badly configured
  • 0
    @localjoost

    Depends on what kind of test you did. If it is just files - nginx is slightly faster. 90% of all websites does not really notice anything.
  • 0
    @localjoost

    Just use the one that you like :)
  • 0
    @Linux it was some online test. I didn't have any experience with servers at that time
  • 1
    never used it never gonna bash it but nginx was a 15 mins job to setup and run so I used it. @Linux
Your Job Suck?
Get a Better Job
Add Comment