Skip to content

Instantly share code, notes, and snippets.

@paeschli
paeschli / index.php
Created November 1, 2012 09:13
MyCode
<?php
/**
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
root@dornbirn:/home/pae# uname -a
SunOS dornbirn.zhaw.ch 5.11 11.1 sun4v sparc sun4v Solaris
root@dornbirn:/home/pae#
root@dornbirn:~# ls -lh /opt/SUNWspro
total 512
lrwxrwxrwx 1 root root 26 2012-12-13 14:40 bin -> /opt/solarisstudio12.3/bin
root@dornbirn:~#
root@dornbirn:~# ls /opt/csw/apache2/share/htdocs/gitorious
app bin core db Gemfile HACKING LICENSE NEWS public README script test TODO.txt
AUTHORS config data doc Gemfile.lock lib log Procfile Rakefile repositories tarballs tmp vendor
root@dornbirn:~#
#CONFIG["CPP"] = "/opt/SUNWspro/bin/cc -E"
CONFIG["CPP"] = "/usr/sfw/bin/gcc -E"
CONFIG["CC"] = "/opt/SUNWspro/bin/cc"
#CONFIG["CC"] = "/usr/gcc/4.5/bin/gcc"
#CONFIG["CC"] = "/usr/sfw/bin/gcc"
#CONFIG["CC"] = "/opt/csw/bin/gcc"
root@dornbirn:/usr/local/src/ImageMagick-6.8.0-10# ./configure --prefix=/usr/local/packages/ImageMagic--6.8.0
root@dornbirn:/usr/local/src/ImageMagick-6.8.0-10# make
root@dornbirn:/usr/local/src/ImageMagick-6.8.0-10# make install
root@dornbirn:/usr/local/src/sphinx-0.9.9# ./configure --prefix=/usr --with-mysql=/usr/mysql --with-mysql-includes=/usr/mysql/include/mysql
root@dornbirn:/usr/local/src/sphinx-0.9.9# make
root@dornbirn:/usr/local/src/sphinx-0.9.9# make install
160,161c160,161
< puts "#{PlatformInfo.rake_command} apache2:clean apache2 RELEASE=yes"
< return sh("#{PlatformInfo.rake_command} apache2:clean apache2 RELEASE=yes")
---
> puts "#{PlatformInfo.rake_command} apache2 apache2 RELEASE=yes"
> return sh("#{PlatformInfo.rake_command} apache2 apache2 RELEASE=yes")
161,169c161,169
< task :clean => 'apache2:clean'
< desc "Clean all compiled Apache 2 files"
< task 'apache2:clean' => 'common:clean' do
< files = APACHE2_MODULE_OBJECTS.dup
< files << APACHE2_MOD_PASSENGER_O
< files << APACHE2_MODULE
< files << AGENT_OUTPUT_DIR + "PassengerHelperAgent"
< sh("rm", "-rf", *files)
< end
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
ServerName dornbirn.zhaw.ch
DocumentRoot /opt/csw/apache2/share/htdocs/gitorious/public
<Directory "/opt/csw/apache2/share/htdocs/gitorious/public">
Options -Indexes FollowSymLinks
AllowOverride AuthConfig FileInfo
Order allow,deny