Can I use Python scripts on Web Hosting Hub

Asked by:
Zhenguo
Time:
2012-04-02 2:37 pm
Category:
Website Design
Hits:
734
Does the host support Python Script ? You provided Helloword.py page returns an error as follows:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxxr @ xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So, can you help me?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
2012-04-02 3:32 pm
Hello Zhenguo,

I'm sorry you're having trouble with your Hello World Python script. It took some investigation, but I've narrowed this down to most likely being due to either the editor you are using on your local computer to create and edit your scripts or the FTP transfer mode your FTP client is using. I tested this by creating a test file in your cgi-bin named hellotest.py and which is working as expected, so the issue is not with the server itself.

I would recommend checking your FTP transfer mode (should be binary for our Linux based servers) and/or using a different editor for creating and editing your files. I found some helpful information on this in the following article online (specifically items 3 & 4 under Problems outside the script):

500 Internal Server Error in Python scripts

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Can't login to email
  2. "WordPress Login Temporarily Disabled"?
  3. Google Adwords Credit Link Doesn't Work in AMP

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.