Created
September 25, 2009 19:10
-
-
Save anonymous/193762 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ ! -d /var/cache/git ]; then mkdir -p /var/cache/git; fi | |
(cd /var/cache/git; git clone git://github.com/fapestniegd/wcyd.git ) | |
apt-get install -y apache2-mpm-prefork libapache2-mod-perl2 \ | |
libcatalyst-engine-apache-perl perlmagick \ | |
libcatalyst-modules-extra-perl libcatalyst-modules-perl \ | |
libcatalyst-perl libcatalyst-plugin-session-fastmmap-perl \ | |
libcatalyst-view-tt-perl libhtml-prototype-perl | |
############# | |
# httpd.conf | |
############# | |
PerlSwitches -I/var/cache/git/wcyd/devel/omnetscient/lib | |
PerlModule omnetscient | |
#<VirtualHost..> | |
<Location /> | |
SetHandler modperl | |
PerlResponseHandler omnetscient | |
</Location> | |
#</VirtualHost..> | |
################### | |
# non-root location | |
################### | |
<Location /myapp> | |
SetHandler modperl | |
PerlResponseHandler MyApp | |
</Location> | |
########################## | |
# Static content override | |
########################## | |
DocumentRoot /var/www/MyApp/root | |
<Location /static> | |
SetHandler default-handler | |
</Location> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment