Re: Exec format error when using gitweb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 22, 2008 at 5:04 PM, Lea Wiemann <lewiemann@xxxxxxxxx> wrote:
> Erez Zilber wrote:
>>
>> [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:
>
> Random guess: Did you make the data files (.css, .png) executable by
> accident, so your server is trying to execute them?
>

Thanks for the quick response. Yeah, I did that after I got
"Permission denied" errors. Now, I chnaged it and it looks like this:

[admin@kites ~]$ sudo ls -l /var/www/cgi-bin/gitweb
total 192
-rwxr-xr-x 1 apache root    164 Jun 19 13:57 git-favicon.png
-rw-r--r-- 1 apache root    208 Jun 19 13:57 git-logo.png
-rwxr-xr-x 1 apache root 170562 Jun 19 13:57 gitweb.cgi
-rwxr-xr-x 1 apache root     79 Jun 22 16:29 gitweb_config.perl
-rw-r--r-- 1 apache root   7112 Jun 19 13:57 gitweb.css

and I get the following errors:

[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:
http://kites/cgi-bin/gitweb/gitweb.cgi
[Sun Jun 22 17:06:08 2008] [error] [client 172.16.0.7] Premature end
of script headers: gitweb.css, referer:
http://kites/cgi-bin/gitweb/gitweb.cgi
[Sun Jun 22 17:06:08 2008] [error] [client 172.16.0.7] (13)Permission
denied: exec of '/var/www/cgi-bin/gitweb/git-logo.png' failed,
referer: http://kites/cgi-bin/gitweb/gitweb.cgi
[Sun Jun 22 17:06:08 2008] [error] [client 172.16.0.7] Premature end
of script headers: git-logo.png, referer:
http://kites/cgi-bin/gitweb/gitweb.cgi

Erez
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux