diff options
author | root <root@piny.svcs.cs.pdx.edu> | 2009-09-06 04:26:13 -0700 |
---|---|---|
committer | root <root@piny.svcs.cs.pdx.edu> | 2009-09-06 04:26:13 -0700 |
commit | 29355a1653a12742928ce563e4c077a77f67c9f9 (patch) | |
tree | a502a34c06c33c08cfb8050527e2c7ae5ceb47ad /etc | |
parent | 3d47e7f272d128780a2c6c5d94e4c61d7888c3d1 (diff) | |
download | piny-code-29355a1653a12742928ce563e4c077a77f67c9f9.tar.gz piny-code-29355a1653a12742928ce563e4c077a77f67c9f9.zip |
Import of unversioned piny code.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/apache2/sites-available/001-piny | 56 | ||||
-rw-r--r-- | etc/cgitrc | 100 |
2 files changed, 156 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/001-piny b/etc/apache2/sites-available/001-piny new file mode 100644 index 0000000..e283977 --- /dev/null +++ b/etc/apache2/sites-available/001-piny @@ -0,0 +1,56 @@ +<VirtualHost *:80> + ServerName piny.svcs.cs.pdx.edu + + DocumentRoot /srv/www/piny.svcs.cs.pdx.edu + + <Directory /> + Options Indexes FollowSymLinks MultiViews + AllowOverride None + </Directory> + + RedirectMatch 301 ^/$ http://piny.svcs.cs.pdx.edu/piny-web/ +</VirtualHost> + +<VirtualHost *:80> + ServerName secure.piny.svcs.cs.pdx.edu + RedirectMatch 301 (.*) https://secure.piny.svcs.cs.pdx.edu$1 +</VirtualHost> + +<VirtualHost *:443> + ServerName secure.piny.svcs.cs.pdx.edu + DocumentRoot /srv/www/secure.piny.svcs.cs.pdx.edu + + <Directory /> + Options Indexes FollowSymLinks MultiViews + AllowOverride None + </Directory> + + RedirectMatch 301 ^/$ http://piny.svcs.cs.pdx.edu/piny-web/ + + SSLEngine On + SSLCertificateFile /etc/ssl/private/wildcard.piny.svcs.cs.pdx.edu.pem +</VirtualHost> + +<VirtualHost *:80> + ServerName cgi.piny.svcs.cs.pdx.edu + RedirectMatch 301 (.*) https://cgi.piny.svcs.cs.pdx.edu$1 +</VirtualHost> + +<VirtualHost *:443> + ServerName cgi.piny.svcs.cs.pdx.edu + DocumentRoot /srv/www/cgi.piny.svcs.cs.pdx.edu + + <Directory "/srv/www/cgi.piny.svcs.cs.pdx.edu"> + SSLRequireSSL + SetHandler cgi-script + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + </Directory> + + ScriptAlias /cgi-bin/cgit.cgi /usr/lib/cgi-bin/cgit.cgi + + Include /etc/apache2/piny-enabled + + SSLEngine On + SSLCertificateFile /etc/ssl/private/wildcard.piny.svcs.cs.pdx.edu.pem +</VirtualHost> diff --git a/etc/cgitrc b/etc/cgitrc new file mode 100644 index 0000000..5ff681c --- /dev/null +++ b/etc/cgitrc @@ -0,0 +1,100 @@ +# Enable caching of up to 1000 output entriess +cache-size=1000 + + +# Specify some default clone prefixes +clone-prefix=git://piny.svcs.cs.pdx.edu git+ssh://piny.svcs.cs.pdx.edu/srv/git + +# Specify the css url +css=http://piny.svcs.cs.pdx.edu/piny-shared/cgit/cgit.css + + +# Show extra links for each repository on the index page +enable-index-links=1 + + +# Show number of affected files per commit on the log pages +enable-log-filecount=1 + + +# Show number of added/removed lines per commit on the log pages +enable-log-linecount=1 + + +# Add a cgit favicon +#favicon=/cgit/favicon.ico + + +# Use a custom logo +logo=http://piny.svcs.cs.pdx.edu/piny-shared/cgit/cgit.png + + +# Set the title and heading of the repository index page +root-title=Piny git repositories + + +# Set a subheading for the repository index page +root-desc=For all your informational needs. + + +# Include some more info about foobar.com on the index page +#root-readme=/var/www/htdocs/about.html + + +# Allow download of tar.gz, tar.bz and zip-files +snapshots=tar.gz zip + + +## +## List of repositories. +## PS: Any repositories listed when repo.group is unset will not be +## displayed under a group heading +## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos') +## and included like this: +include=/etc/cgitrepos +## + + +#repo.url=piny-web +#repo.path=/srv/git/piny-web.git +#repo.desc=piny-web +#repo.owner=jrayhawk+piny.svcs.cs.pdx.edu@omgwallhack.org +#repo.readme=info/web/about.html + + +#repo.url=piny-shared +#repo.path=/srv/git/piny-shared.git +#repo.desc=piny-shared +#repo.owner=jrayhawk+piny.svcs.cs.pdx.edu@omgwallhack.org +#repo.readme=info/web/about.html + + +# The next repositories will be displayed under the 'extras' heading + +#repo.url=baz +#repo.path=/pub/git/baz.git +#repo.desc=a set of extensions for bar users + +#repo.url=wiz +#repo.path=/pub/git/wiz.git +#repo.desc=the wizard of foo + + +# Add some mirrored repositories +#repo.group=mirrors + + +#repo.url=git +#repo.path=/pub/git/git.git +#repo.desc=the dscm + + +#repo.url=linux +#repo.path=/pub/git/linux.git +#repo.desc=the kernel + +# Disable adhoc downloads of this repo +repo.snapshots=0 + +# Disable line-counts for this repo +repo.enable-log-linecount=0 |