diff options
| author | RATDAD <lambda@disroot.org> | 2025-12-19 02:13:32 -0500 |
|---|---|---|
| committer | RATDAD <lambda@disroot.org> | 2025-12-19 02:13:32 -0500 |
| commit | 714cb1569999b4a51c8bfd24b17736f82f64100c (patch) | |
| tree | 6735e6d52347756bc6e313bbc81e2c80eea4d549 /etc | |
| parent | 50f0b6075edb49ffc09090d0ee71391f44c64daf (diff) | |
| download | cgit-docker-714cb1569999b4a51c8bfd24b17736f82f64100c.tar.gz cgit-docker-714cb1569999b4a51c8bfd24b17736f82f64100c.tar.bz2 cgit-docker-714cb1569999b4a51c8bfd24b17736f82f64100c.zip | |
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] |
