Skip to content

Instantly share code, notes, and snippets.

View johanot's full-sized avatar

Johan Thomsen johanot

  • Danish Scout and Guide Association
  • Denmark
View GitHub Profile
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/johan.colabo.dk.sock|fcgi://localhost/"
</FilesMatch>
<Proxy unix:/run/php/johan.colabo.dk.sock|fcgi://localhost/>
ProxySet connectiontimeout=5 timeout=240
Allow from all
</Proxy>
@johanot
johanot / dblog.class.php
Created January 5, 2013 15:23
Hello World
<?php
require_once('db/DBConnection.php');
require_once('db/DBStatement.php');
require_once('db/DBParameter.php');
require_once('db/DBException.php');
class DBLog
{