jobd: fix an invocation of error to use ferror
[girocco.git] / apache.conf
blob34636961aabda2d5a7b420a3b45fee942ba9037e
1 # This is example configuration of a virtualhost running Girocco, as set up
2 # at repo.or.cz; unfortunately, completely independent from Girocco::Config.
3 # It is not essential for Girocco to use a special virtualhost, however.
4 <VirtualHost *:80>
6         ServerName repo.or.cz
7         ServerAlias www.repo.or.cz
8         ServerAdmin admin@repo.or.cz
10         ErrorLog /var/log/apache2/repo-error.log
11         CustomLog /var/log/apache2/repo-access.log combined
13         AddHandler cgi-script .cgi
15         DocumentRoot /home/repo/WWW
16         <Directory /home/repo/WWW>
17                 Options Indexes FollowSymLinks MultiViews ExecCGI
18                 AllowOverride All
19                 Order allow,deny
20                 Allow from all
21                 DirectoryIndex gitweb.cgi
22                 Satisfy all
23         </Directory>
25         ScriptAlias /w /home/repo/WWW/gitweb.cgi
26         ScriptAlias /h /home/repo/WWW/html.cgi
28         <Directory /srv/git>
29                 Options FollowSymLinks
30                 AllowOverride None
31                 Order allow,deny
32                 Allow from all
33                 Satisfy all
34         </Directory>
35         <Directory /usr/lib/git-core>
36                 Options None
37                 AllowOverride None
38                 Order deny,allow
39                 Deny from all
40                 <Files git-http-backend>
41                         Allow from all
42                 </Files>
43                 Satisfy all
44         </Directory>
46         SetEnv GIT_PROJECT_ROOT /srv/git
47         SetEnv GIT_HTTP_EXPORT_ALL 1
49         AliasMatch ^/r/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$           /srv/git/$1
50         AliasMatch ^/r/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$  /srv/git/$1
51         ScriptAlias /r/ /usr/lib/git-core/git-http-backend/
53 </VirtualHost>