View previous topic :: View next topic |
Author |
Message |
BuckWild -
Joined: 17 Dec 2002 Posts: 1
|
Posted: Tue Dec 17, 2002 8:19 am Post subject: Python Support |
|
|
I would think that since Python is CGI usable, that it would work just as simply as any other language in coalition with this server. However, when following the steps needed to install a Perl interpreter, except using Python, I found it not to work.
There are a few things I'm confused about.
Is there anything additional that needs to be done during Python's installation that I need to be aware of?
Do I need to add Python as a MIME-TYPE (I tried doing this and it didn't seem to make any difference).
Are content-type headers needed before the executed code?
I get an internal server error when trying to execute the .py files, but it is a simple hello, world script that is error free. I checked the cgi.log but it has nothing recorded as if the file hadn't even been executed? Is there a way for me to better understand what is going on here?
I have followed all the steps outline for getting Perl to work using Python extension (.pl) in place and the Python path in place of the perl path. What gives? Has anyone else had failure/success in this area?
Thanks in advance. :wink: |
|
Back to top |
|
|
BuckWilder Guest
|
Posted: Tue Dec 17, 2002 10:12 am Post subject: |
|
|
I feel a little embarrassed :oops:
My problem was that I was not including the trailing \n on "Content-Type: text/html\n".
Sure is particular (with good reason, I know). Glad I figured this out before you guys were scratching your heads (isn't it always something stupid like this?) |
|
Back to top |
|
|
!Keys -
Joined: 23 Nov 2002 Posts: 156 Location: Holland, Enschede
|
Posted: Tue Dec 17, 2002 7:05 pm Post subject: |
|
|
how´d u know i was scratching my head :oops: :wink: :lol:
ah well, we´re here to help.. and remind this: there are no stupid questions, without questions everybody would be dumb
(and there would be this great forum and i wouldnt have 85 posts now :roll: :lol: ) _________________ !Keys || MwM^computerware |
|
Back to top |
|
|
fabrice -
Joined: 30 Nov 2003 Posts: 1
|
Posted: Sun Nov 30, 2003 11:08 pm Post subject: |
|
|
:cry:
Bonsoir
Do you Speak french ??
How to programme CGI Script in Python on Abyss server ??
Please ?
Thanks for your answers.
fabrice from France. :P |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Dec 02, 2003 3:52 am Post subject: |
|
|
fabrice,
Vous pouvez posez vos questions en français directement au support technique d'Aprelium (email: support@aprelium.com).
[English Translation of the previous sentence: You can send your questions in French to support@aprelium.com] _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|