Administration
Apache PROXYPASS, NEGATIVE PROXYPASS AND AUTH_BASIC
Today i had to face a weird problem with Apache 2. I wanted to setup a webmail on the SAME virtualhost that i was using to proxy to another host. Here’s a summary of my configuration: <VirtualHost *:80> ServerAdmin sysadmin@localhost DocumentRoot /var/www/folder ServerName localhost Alias /mail /var/lib/roundcube/ <Directory /var/lib/roundcube/> Options Indexes Includes FollowSymLinks AllowOverride All […]
MySQL: Restore a dropped database
NOTE BEFORE TRYING ANYTHING DO A BACKUP OF ALL DATABASES. 1 MISTAKE CAN BE A BIG PROBLEM, IMAGINE 2 MISTAKES AT THE SAME TIME!! You need bin logs for this tutorial, if you didn’t have them enabled, then you have to look somewhere else.. Today i accidentally “dropped” the database of a site i host […]