Skip to content

Instantly share code, notes, and snippets.

@nmenda
Created December 2, 2009 16:51
Show Gist options
  • Save nmenda/247338 to your computer and use it in GitHub Desktop.
Save nmenda/247338 to your computer and use it in GitHub Desktop.
# enable extended apache server status, which is sometimes useful for debugging
ExtendedStatus On
<VirtualHost *:80>
ServerName sgn.localhost.localdomain
PerlWarn On
PerlTaintCheck On
LogLevel info
<Perl>
use lib '/home/naama/cxgn/sgn/lib';
use lib '/home/naama/cxgn/cxgn-corelibs/lib';
use local::lib '/home/naama/cxgn/local-lib';
use SGN::Apache2::Startup vhost => 1;
$SIG{__DIE__} = \&CXGN::Apache::Error::cxgn_die_handler;
$SIG{__WARN__} = \&CXGN::Apache::Error::cxgn_warn_handler;
</Perl>
</VirtualHost>
Restarting web server: apache2Syntax error on line 14 of /etc/apache2/sites-enabled/sgn:
IPC::System::Simple required for Fatalised/autodying system() at /home/naama/cxgn/sgn/lib/SGN/Apache2/Startup.pm line 14\nBEGIN failed--compilation aborted at /home/naama/cxgn/sgn/lib/SGN/Apache2/Startup.pm line 14.\nCompilation failed in require at /etc/apache2/sites-enabled/sgn line 18.\nBEGIN failed--compilation aborted\t(in cleanup) IPC::System::Simple required for Fatalised/autodying system() at /home/naama/cxgn/sgn/lib/SGN/Apache2/Startup.pm line 14\nBEGIN failed--compilation aborted at /home/naama/cxgn/sgn/lib/SGN/Apache2/Startup.pm line 14.\nCompilation failed in require at /etc/apache2/sites-enabled/sgn line 18.\nBEGIN failed--compilation aborted at /etc/apache2/sites-enabled/sgn line 18.\n
failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment