I want to hide my gitweb instance behind a reverse proxy. So I set my base url to /gitweb
but some URLs are still broken.
As I debugged the problem I found that the following stylesheet is loaded from /gitweb.css
instead of /gitweb/gitweb.css
.
<base href="/gitweb" />
<link rel="stylesheet" type="text/css" href="gitweb.css"/>
I've found a fix for this problem which says these links are interpreted as absolute urls. Unfortunately I'm not using Apache - which was used in the fix.
Anyway. I'm just wondering why href="gitweb.css"
is not using the base href