Apache2 - config 

Listen 8888
ErrorLog ${APACHE_ERROR_LOG}
PidFile ${APACHE_PID_FILE}
DocumentRoot ${APACHE_DOCUMENTROOT}

LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so

SetHandler perl-script
PerlSetEnv PASTEBOT_STORAGE_DIR ${PASTEBOT_STORAGE_DIR}
PerlHandler ${APACHE_HANDLER}