well, i tried .cgi and .py both had no luck.
I used the FileManager to write it, and I uploaded it from 3 FTP programs from a Windows machine. I know what your getting at, becouse i had that prob the first time i was uploading a PERL script before, I don't think thats it.
I was thinking it...
If i write a script say, myscript.cgi and write it in PERL and it works, then just replace the PERL code with the Phython it should work right??
this is my .htaccess
the server is processing it, so the .htaccess should not be the prob right? otherwise it would just display in plain text...
#...
No, it will not run anywhere!
I can run a PERL script anywhere as a CGI
but Python will not work,
On my PERL i have
#!/usr/bin/perl -w "Works fine"
and python
#!/usr/bin/python "Error"
whats wrong here?
thnx
also, i take the same cgi file, cmod it, write as a PERL...
well...
i have been all over this darn forum, and it is still not working, also, the code i have there is from here: http://forums.x10hosting.com/programming-help/83246-python-beginner-how-do-i-get-running-starting-scratch.html
I have tried evry shebang i can find, but with no luck.
I...
Ok, I have never ran python on a server, but i thought i would give it a try, but with no luck.
its driveing me crazzy, i got the permissions right... cmod 755 DUH!
got the .htaccess right? i think, its what they said before would work..
AddHandler cgi-script .cgi .py .pl .pm
PERL...