~ubuntu-branches/ubuntu/intrepid/bugzilla/intrepid

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<VirtualHost bugzilla.domain.com>
    ServerAdmin bugzilla@domain.com
    ServerName bugzilla.domain.com

    DocumentRoot /usr/share/bugzilla3/web
    
    SetEnv X_BUGZILLA_SITE "basic"
    SetEnv X_BUGZILLA_WEBPATH "/"

    # This is needed for keeping a good url in lots of links
    RewriteEngine On
    RewriteRule ^(.*/cgi-bin/bugzilla3)/?$ $1/index.cgi [R]

    # Rewrite the index access to the CGI path, much clean than
    # the pretty old-fashion index.html redirection
    RewriteRule ^/index.html$ /cgi-bin/index.cgi [PT]

</VirtualHost>