File: vh-basic.conf

package info (click to toggle)
bugzilla 3.0.4.1-2%2Blenny2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,328 kB
  • ctags: 29
  • sloc: sh: 525; makefile: 160; perl: 98
file content (18 lines) | stat: -rw-r--r-- 552 bytes parent folder | download
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>