> Hello
 >
 > I just installed latest release of suphp and I have a probleme with a
 > gif image named xxxx.com.pl.gif
 >
 > suphp thinks it's a perl script and he tries to execute my gif :)
 >
 >
 > Internal Server Error
 > Could not execute script "xxxx.com.pl.gif"
 >
 > Is it a bug ? Is there a place somewhere we must change a regex so that
 > suphp does not treat this file as a script ?
 >
 > Thank you.
 >

I reply to myself :)


A friend of mine found the solution (hello Boris)

Use this in mod_suphp.conf:

AddHandler x-suphp-cgi   .cgi$ .pl$

And it works. It tells apache not to consider a gif image named 
xxxx.com.pl.gif like a .pl script.

Thanks for all the peaople who mailed me directly.

-- 
Olivier PIERRE
Développeur web et Administrateur système Linux
OXERON Internet and Mobile Services SARL

Hébergement PHP5/MySQL5 (www.oxyweb.com)
Projets SMS (www.websms.lu - www.oxysms.com)
Petites annonces (www.luxannonces.lu - www.troconet.net)


Email    : [email protected]
Web      : http://www.oxeron.com
LinkedIn : http://www.linkedin.com/in/oxeron
Twitter  : http://twitter.com/oxeron

GPG Key ID/Fingerprint:
     5D853E36/518C CC3A 7F49 64B0 084E 9DD6 A621 F9FC 5D85 3E36

_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to