[Tutor] Python in Apache?

Victor R. Cardona vcardon@siue.edu
Thu, 24 Jan 2002 17:34:21 -0600


--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 24, 2002 at 01:16:06PM -0800, Israel Evans wrote:
> it tells me this::
>=20
> [Thu Jan 24 08:08:42 2002] [error] [client 127.0.0.1]=20
> attempt to invoke directory as script: c:/weblish/cgi-bin
>=20
> [Thu Jan 24 08:11:28 2002] [error] [client 127.0.0.1]=20
> couldn't spawn child process: c:/weblish/cgi-bin/test.cgi

Try renaming your cgi script to test.py. I think windows needs the ".py"
extension in order to execute the script with the Python interpreter.

-v
--=20
Victor R. Cardona
Powered by SuSE Linux 7.1 (i386) Professional
GPG key ID E81B3A1C
Key fingerprint =3D 0147 A234 99C3 F4C5 BC64  F501 654F DB49 E81B 3A1C

--d6Gm4EdcadzBjdND
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8UJn9ZU/bSegbOhwRAgp7AJ9hDYUNAyGcWIfTvM0FQ1LqcP5LywCdHXMe
SRYkKKYEt5MofK0Dc8/T1jU=
=i3TS
-----END PGP SIGNATURE-----

--d6Gm4EdcadzBjdND--