Re: Exec format error when using gitweb
- From
- Luciano Rocha <luciano@eurotux.com>
- Date
- Jun 22, 2008, 14:42 UTC
- Message-ID
- <20080622144240.GA18324@bit.office.eurotux.com>
- In-Reply-To
- <ce513bcc0806220651g5cf59516w3fc30a68d7f09e79@mail.gmail.com>
On Sun, Jun 22, 2008 at 04:51:52PM +0300, Erez Zilber wrote:
Show 9 quoted lines
> Hi, > > I'm trying to config gitweb using v1.5.5.3. I'm able to see my > repositories (through gitweb) but I see the following errors in > /var/log/httpd/error_log. Can anyone help? > > [Sun Jun 22 16:33:53 2008] [error] [client 172.16.0.7] (8)Exec format > error: exec of '/var/www/cgi-bin/gitweb/gitweb.css' failed, referer: > http://kites/cgi-bin/gitweb/gitweb.cgi
If cgi-bin is configured as ScriptAlias in Apache httpd server, then it will try to execute every file inside that directory. You should move them elsewere, or use a different directory altogether, with ExecCGI permissions.
-- Luciano Rocha <luciano@eurotux.com> Eurotux Informática, S.A. <http://www.eurotux.com/>