diff options
Diffstat (limited to 'usr/pkg/etc/httpd')
-rw-r--r-- | usr/pkg/etc/httpd/httpd.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/pkg/etc/httpd/httpd.conf b/usr/pkg/etc/httpd/httpd.conf index 5bbb314..80813dc 100644 --- a/usr/pkg/etc/httpd/httpd.conf +++ b/usr/pkg/etc/httpd/httpd.conf @@ -98,7 +98,7 @@ LoadModule status_module lib/httpd/mod_status.so LoadModule autoindex_module lib/httpd/mod_autoindex.so #LoadModule asis_module lib/httpd/mod_asis.so #LoadModule info_module lib/httpd/mod_info.so -#LoadModule cgid_module lib/httpd/mod_cgid.so +LoadModule cgid_module lib/httpd/mod_cgid.so #LoadModule dav_fs_module lib/httpd/mod_dav_fs.so #LoadModule dav_lock_module lib/httpd/mod_dav_lock.so #LoadModule vhost_alias_module lib/httpd/mod_vhost_alias.so @@ -288,6 +288,7 @@ vhost block(ServerName => 'git.ankarstrom.se', Directory => block('/var/www/git/htdocs' => block( DirectoryIndex => 'cgit.cgi', Options => '+ExecCGI', + AddHandler => 'cgi-script .cgi', RewriteEngine => 'On', RewriteCond => '%{REQUEST_FILENAME} !-f', RewriteCond => '%{REQUEST_FILENAME} !-d', |