Re: Exec format error when using gitweb
- From
- Erez 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 >