From: Dan Brook Date: Sun, 17 Oct 2010 16:12:00 +0000 (+0100) Subject: Bumped version to 0.002006 and updated Changes. X-Git-Tag: 0.002006 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=f857f98d7cfb53be249ca52bb17cdc2475d72072 Bumped version to 0.002006 and updated Changes. --- diff --git a/Changes b/Changes index 2c2631d..2d61f75 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ This file documents the revision history for Perl extension Gitalist. +0.002006 2010-10-17 + - Added notes regarding slash encoding in Catalyst + - Fixed typo in core.css + - Updated formatting in Gitalist.pm + - Modified README with more details on FCGI deployment with Apache + - Fix broken env includes in script/gitalist*.pl. + 0.002005 2010-08-13 - Limit the number of branches/tags listed by default. diff --git a/README b/README index 2e7feaa..3b75a66 100644 --- a/README +++ b/README @@ -131,50 +131,48 @@ RUNNING #!/bin/sh exec /home/t0m/public_html/Gitalist/script/gitalist_fastcgi.pl - + This example can be seen live here: - http://example.gitalist.com - - FASTCGI + http://example.gitalist.com + + FASTCGI Running Gitalist in FastCGI mode requires a webserver with FastCGI support (such as apache with mod_fcgi or fcgid). Below is a sample configuration using Apache2 with fcgid in a dynamic configuration (as opposed to static or standalone mode). More information on these modes and their configuration can be found at http://search.cpan.org/~bobtfish/Catalyst-Runtime-5.80025/lib/Catalyst/Engine/FastCGI.pm#Standalone_server_mode - - In Apache's mime.conf, add AddHandler fcgid-script .fcgi (or AddHandler fastcgi-script .fcgi for mod_fcgi) - - And a quick VirtualHost configuration: - - - ServerName gitalist.yourdomain.com - DocumentRoot /path/to/gitalist.fcgi - - AllowOverride all - Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch - Order allow,deny - Allow from all - - - # Tell Apache this is a FastCGI application - - #change the below to fastcgi-script if using mod_fcgi - SetHandler fcgid-script - - - - Now to access your gitalist instance, you'll go to gitalist.yourdomain.com/gitalist.fcgi/ - (DO NOT FORGET THAT TRAILING /). If you'd like a different URL, of course, you'll likely want to use - mod_rewrite or equivalent - - If you find the need to do some troubleshooting, you can call http://url_to_gitalist.fcgi?dump_info=1 - and/or add export GITALIST_DEBUG=1 to the top of you gitalist.fcgi file (just below the shebang line). - - Also, note that Apache will refuse %2F in Gitalist URL's unless configured otherwise. Make sure - "AllowEncodedSlashes On" is in your httpd.conf file in order for this to run smoothly. - + In Apache's mime.conf, add AddHandler fcgid-script .fcgi (or AddHandler fastcgi-script .fcgi for mod_fcgi) + + And a quick VirtualHost configuration: + + + ServerName gitalist.yourdomain.com + DocumentRoot /path/to/gitalist.fcgi + + AllowOverride all + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + Order allow,deny + Allow from all + + + # Tell Apache this is a FastCGI application + + #change the below to fastcgi-script if using mod_fcgi + SetHandler fcgid-script + + + + Now to access your gitalist instance, you'll go to gitalist.yourdomain.com/gitalist.fcgi/ + (DO NOT FORGET THAT TRAILING /). If you'd like a different URL, of course, you'll likely want to use + mod_rewrite or equivalent + + If you find the need to do some troubleshooting, you can call http://url_to_gitalist.fcgi?dump_info=1 + and/or add export GITALIST_DEBUG=1 to the top of you gitalist.fcgi file (just below the shebang line). + + Also, note that Apache will refuse %2F in Gitalist URL's unless configured otherwise. Make sure + "AllowEncodedSlashes On" is in your httpd.conf file in order for this to run smoothly. CONTRIBUTING Patches are welcome, please feel free to fork on github and send pull diff --git a/lib/Gitalist.pm b/lib/Gitalist.pm index 499ac7b..25c802b 100644 --- a/lib/Gitalist.pm +++ b/lib/Gitalist.pm @@ -14,7 +14,7 @@ use Catalyst qw/ SubRequest /; -our $VERSION = '0.002005'; +our $VERSION = '0.002006'; $VERSION = eval $VERSION; __PACKAGE__->config(