Public bug reported:

When I want to use the pretty URLs via Apache ModRewrite, it does not
work without a VirtualServer currently.

Although this could be very easily achieved:

In /usr/share/gitweb/gitweb.cgi, add after "our $base_url = $my_url;"
the following lines:

        if (defined $ENV{'SCRIPT_NAME'}) {
                $base_url = $ENV{'SCRIPT_NAME'};
        }
 
Then it does work with ModRewrite within /etc/apache2/conf.d/gitweb.

** Affects: gitweb (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1137999

Title:
  url base for relative paths not working correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gitweb/+bug/1137999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to