Package: bugzilla
Version: 2.22-4
Followup-For: Bug #389714

I had to rework my ruleset to keep it working for the login on the front page, 
which
anyway goes to urlbase and doesn't suffer external redirection.
Now all requests are redirected to urlbase, cgi-URIs are internally mapped to 
cgi-bin, 
which also makes a better look in the browsers Location field.

The updated rule set is:

        RewriteEngine On

        # Redirection of some undefined calls to the starting point
        RewriteRule ^(.*/bugzilla)/?$ $1/index.cgi [R] [L]
        
        # rewrite URIs for cgi-scripts
        RewriteCond %{REQUEST_URI}  ^/bugzilla/.*\.cgi
        RewriteRule ^/bugzilla/(.*\.cgi.*) /cgi-bin/bugzilla/$1 [PT]
        ScriptAlias /bugzilla /usr/lib/cgi-bin/bugzilla


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to