Hello a customer of mine purchased a pretty bad hosting company and that i don't have ssh access, their ticket suport only clarified with "yes we support python within our servers" however i can't run any .cgi .py or application.wsgi files. it is possible to sure method to know if the server supports python? I only have the ftp and also the directadmin interface, i must learn more before i'm able to complaing again for their support system otherwise they're not going to give consideration.

The host is neubox.internet this is exactly what i already attempted. This tutorial http://world wide web.howtoforge.com/embedding-python-in-apache2-with-mod_python-debian-etch done my dev machine, it states that i have to give a webhost within the apache2 /available-sites dir but clearly i do not get access to that folder within the hosting. I additionally attempted putting this script around the cause of my host, known as application.wsgi it didnt work

import os

import sys

os.environ['DJANGO_Configurations_MODULE'] = 'mysite.settings'

import django.core.handlers.wsgi

application = django.core.handlers.wsgi.WSGIHandler()

I additionally attempted this file application.py around the root

#!/usr/bin/env python

# -*- coding: UTF-8 -*-

# enable debugging

import cgitb


print "Content-Type: text/plaincharset=utf-8"


print "Hello World!"

Individuals files were proven as plain text, i attempted that identical code but named application.cgi and strangely enough it came back a 404 error, the file obviously its there. I saw in the directadmin interface in site summary that CGI-Bin OFF And so i guess thats the reason behind the 404. Within the same page i observe that the title servers are http://ns115.neubox.internet/ http://ns116.neubox.internet The first states Apache is functioning normally This really is their services comparison site (the spanish language) http://neubox.internet/comparativo-hosting.php

If only i possibly could understand what OS could they be running i am almost sure is linux because on my small root there's a folder .htpasswd and individuals .folders are linux for hidden, but i am unsure if thats a sure method to tell.

They provided this url its for phpinfo() fast-cgi but all of the tuts about this discuss doing such things as altering Apache configuration wich i clearly can't do, this is actually the finish of my search right? they don't support python.

Inside your server thay sais they have php, so perhaps you should use this php function. to retrive more information, performing a python script:

# hacking.py

import sys

print sys.version_info

and once you make something similar to this


// echo $path = professional('pwd')

// professional python script

echo professional('python hacking.py')


bear in mind the file permissions