httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] Help: GIFs that are in same directory as PERL script are being executed
Date Sun, 25 Feb 2007 20:41:24 GMT
On 23.02.07 14:27, Stephen Truxton wrote:
> Background:
>  - Because of my Cricket installation, I've had to put
> GIFs in the same directory as some perl scripts.

makes not a problem

>  - The perl scripts are in a user directory so I had
> to modify suse_public_html.conf to allow scripts to
> execute.

you created ScriptAlias for that directory, right?

> Issue:
>  - The perl scripts execute just dandy, but Apache is
> interpreting the GIFs in that directory as
> executables.  At least this is how I'm interpreting
> the messages in error_log:
> "[Fri Feb 23 05:56:28 2007] [error] (8)Exec format
> error: exec of /home/sanscript
> /public_html/cricket/images/rrdtool.gif failed

> Has anyone seen this before & know how to correct?

if you configure access to some directory via ScriptAlias, apache will try
to execute every file in that directory.

Don't use ScriptAlias, if you don't have only executebla files in the
destination directory. Use "Options ExecCGI" for that directory.

Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I intend to live forever - so far so good. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message