+ Reply to Thread
Results 1 to 9 of 9

Thread: CGI Python

  1. #1
    i14mail-forum52 is offline x10Hosting Member i14mail-forum52 is an unknown quantity at this point
    Join Date
    Oct 2010
    Posts
    2

    CGI Python

    Can i use a python cgi in X10Hosting?

    All my scripts get just a forbidden page. I try this code:

    #!/usr/bin/env python
    print "Content-Type: text/html \r\n\r\n"
    print "Hello world"

    in a teste.py file with 755 permission.

    I read other posts about this, but they are old and never get an answer.

  2. #2
    chanh.ong25's Avatar
    chanh.ong25 is offline x10Hosting Member chanh.ong25 is an unknown quantity at this point
    Join Date
    Sep 2010
    Location
    USA
    Posts
    50

    Re: CGI Python

    I found out recently that python, perl and ASP.NET have been disable for abuse and security reason.

  3. #3
    i14mail-forum52 is offline x10Hosting Member i14mail-forum52 is an unknown quantity at this point
    Join Date
    Oct 2010
    Posts
    2

    Re: CGI Python

    hm, ok. Are there some kind of cgi script that I could use in X10?

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: CGI Python

    Currently PHP is the only scripting language enabled on the Free Hosting servers. They can be run from any directory.
    Nothing is always absolutely so.

  5. #5
    blendingcorey43 is offline x10Hosting Member blendingcorey43 is an unknown quantity at this point
    Join Date
    Oct 2010
    Posts
    5

    Re: CGI Python

    I heard that they were disabled temporarily due to abuse. Are they coming back?

  6. #6
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: CGI Python

    I would not plan on it.
    Nothing is always absolutely so.

  7. #7
    sedesign is offline x10Hosting Member sedesign is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    24

    Re: CGI Python

    is Jquery allowed? ive been testing a site function locally and it works perfectly but when i upload it, it doesnt (yes ive uploaded the .js lib with it :P)

  8. #8
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: CGI Python

    jQuery runs on the user's browser, not on the server.
    Maybe your links to the .js files are not correct.
    Nothing is always absolutely so.

  9. #9
    sedesign is offline x10Hosting Member sedesign is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    24

    Re: CGI Python

    Quote Originally Posted by descalzo View Post
    jQuery runs on the user's browser, not on the server.
    Maybe your links to the .js files are not correct.
    ahh right, well i havent done webdesign in nearly a year so it could be something im missing - possibly the links as i am prone to putting it to local structure such as "C:\..." lol ill have a look over it and try again, thanks descalzo

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 09-05-2010, 01:06 AM
  2. Get Python Run
    By dadom in forum Programming Help
    Replies: 3
    Last Post: 07-02-2008, 08:45 AM
  3. Python
    By insomniaweek in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 05-05-2008, 07:43 PM
  4. Python
    By kyarlay in forum Free Hosting
    Replies: 3
    Last Post: 01-05-2008, 04:32 AM
  5. Python
    By klnce in forum General
    Replies: 1
    Last Post: 11-30-2007, 10:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers