git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitweb: ensure the default stylesheet is accessible

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Jan 26, 2009, 01:28 UTC
Message-ID
<1232933322-9186-1-git-send-email-giuseppe.bilotta@gmail.com>

On some installations the CSS fails to be linked correctly when path_info is enabled, since the link refers to "gitweb.css", whereas it should be "${my_uri}/gitweb.css". Fix by setting the appropriate default in the Makefile.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 4ef8234..4f60de9 100644
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,7 @@ GITWEB_STRICT_EXPORT =
 GITWEB_BASE_URL =
 GITWEB_LIST =
 GITWEB_HOMETEXT = indextext.html
-GITWEB_CSS = gitweb.css
+GITWEB_CSS = $${my_uri}/gitweb.css
 GITWEB_LOGO = git-logo.png
 GITWEB_FAVICON = git-favicon.png
 GITWEB_SITE_HEADER =
-- 
1.5.6.5
Next: Jakub Narebski
Message 1 of 3 in “gitweb: ensure the default stylesheet is accessible”
  1. gitweb: ensure the default stylesheet is accessibleGiuseppe Bilotta, Jan 26, 2009
  2. Jakub NarebskiJan 26, 2009
  3. Giuseppe BilottaJan 26, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.