[Tutor] Strange magic...
kirk Bailey
idiot1@netzero.net
Fri, 18 Jan 2002 01:15:35 -0500
THIS MESSAGE CONTAINS LINES OF POLITICALLY INCORRECT LENGTH.
ok, here is the print statement:(Ware word wrap!)
print '<a href="http://www.python.org" target="_new"><img
src="./pythonpowered.gif" width="110" height="44" border="0"
alt="click to visit the python language website!"></a>'
and here is the error report:(DITTO!)
[Fri Jan 18 01:03:19 2002] [error] [client 63.208.204.126] file
permissions deny server execution:
/www/www.tinylist.org/cgi-bin/pythonpowered.gif
SO, I took out the "./" part in the img tag. Got this error:
[Fri Jan 18 01:07:50 2002] [error] [client 63.208.204.126] file
permissions deny server execution:
/www/www.tinylist.org/cgi-bin/pythonpowered.gif
OK, so let's loko at the permissions...
ns# ls -l *.gif
-rw-r--r-- 1 root wheel 1077 Jan 18 00:58 pythonpowered.gif
ns#
world readable. Fine by me. Not executable, which is the error, but
WHO THE HELL WANTS TO EXECUTE IT?
Well, let's get wierd and turn the X bit on.
ns# chmod +x *.gif
ns# ls -l *.gif
-rwxr-xr-x 1 root wheel 1077 Jan 18 00:58 pythonpowered.gif
ns#
Still no show on the web page, error log says:
[Fri Jan 18 01:12:00 2002] [error] (8)Exec format error: exec of
/www/www.tinylist.org/cgi-bin/pythonpowered.gif failed
[Fri Jan 18 01:12:00 2002] [error] [client 63.208.204.126] Premature
end of script headers: /www/www.tinylist.org/cgi-bin/pythonpowered.gif
Hey, this really bites, ya know?
They say the most exciting moments in science ar when someone says,
'Now THAT's odd...'
This must be one liver quivvering moment, let me tell ya, `cause I'm
befuddled.
.
--
-Respectfully,
-Kirk D Bailey
Consulting Loose Cannon
end
www.howlermonkey.net highprimate@howlermonkey.net
www.sacredelectron.org idiot1@netzero.net
www.tinylist.org grumpy@tinylist.org
----------------------------------------------------
Sign Up for NetZero Platinum Today
Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97