diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/cgitrc | 6 | ||||
| -rw-r--r-- | etc/httpd/conf/httpd.conf | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -7,7 +7,9 @@ # Global Settings robots=noindex, nofollow snapshots=tar.gz tar.bz2 zip -source-filter=/opt/highlight.sh +source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py +about-filter=/usr/local/lib/cgit/filters/about-formatting.py +commit-filter=/usr/local/lib/cgit/fiters/commit-links.sh # Assets css=/cgit.css @@ -73,4 +75,4 @@ readme=:install # Don't change. virtual-root=/ -scan-path=/srv/git
\ No newline at end of file +scan-path=/srv/git diff --git a/etc/httpd/conf/httpd.conf b/etc/httpd/conf/httpd.conf index 675241d..5d20569 100644 --- a/etc/httpd/conf/httpd.conf +++ b/etc/httpd/conf/httpd.conf @@ -74,10 +74,10 @@ DocumentRoot "/srv/www/htdocs/cgit" AllowOverride All RewriteEngine On - + # Hard stop: never rewrite Git HTTP requests. RewriteRule ^.+/(git-upload-pack|git-receive-pack|info/refs)$ - [END] - + # Serve static files directly. RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^ - [END] |
