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

Re: Exec format error when using gitweb

From
EZErez Zilber <erezzi.list@gmail.com>
Date
Jun 22, 2008, 14:47 UTC
Message-ID
<ce513bcc0806220747x38cf83c2g7cd355f34c090de2@mail.gmail.com>
In-Reply-To
<485E5EDF.1030002@gmail.com>
On Sun, Jun 22, 2008 at 5:17 PM, Lea Wiemann <lewiemann@gmail.com> wrote:
Show 12 quoted lines
> 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.
I moved gitweb outside of cgi-bin and now it works OK. Thanks!
>
> (By the way, git-favicon.png and gitweb_config.perl shouldn't have their
> executable bits set either, since they're not CGI scripts.)
>
Sure.

Thanks, Erez

> -- Lea
>
Previous: Lea WiemannNext: Luciano Rocha
Message 5 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.