Re: Help: GIFs that are in same directory as PERL script are being executed

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

 



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, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux