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

Re: Exec format error when using gitweb

From
LWLea Wiemann <lewiemann@gmail.com>
Date
Jun 22, 2008, 14:17 UTC
Message-ID
<485E5EDF.1030002@gmail.com>
In-Reply-To
<ce513bcc0806220711k5e8c5085qfa330b017d736142@mail.gmail.com>
Erez Zilber wrote:
> -rw-r--r-- 1 apache root   7112 Jun 19 13:57 gitweb.css
> 
> [Sun Jun 22 17:06:08 2008] [error] [client 172.16.0.7] (13)Permission
> denied: exec of '/var/www/cgi-bin/gitweb/gitweb.css' failed, referer:

Apparently your web server is trying to execute gitweb.css even though its executable bit isn't set -- perhaps because it's located in the cgi-bin directory. I suggest you open http://.../cgi-bin/gitweb/gitweb.css and try to get it to display the CSS file in your browser; this is a problem with your web server, not with gitweb.

(By the way, git-favicon.png and gitweb_config.perl shouldn't have their executable bits set either, since they're not CGI scripts.)

-- Lea
Previous: Erez ZilberNext: Erez Zilber
Message 4 of 6 in “Exec format error when using gitweb”
  1. Erez ZilberJun 22, 2008
  2. Lea WiemannJun 22, 2008
  3. Erez ZilberJun 22, 2008
  4. Lea WiemannJun 22, 2008
  5. Erez ZilberJun 22, 2008
  6. Luciano RochaJun 22, 2008

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.