Jump to content

Recommended Posts

Posted

Username: eeljuri, Server: Johnny, Main domain: eeljuri.heliohost.org

 

Good evening, two days ago create an account with you and I require please

Enable Python My users is: eeljuri Thanks,

 

--

Ernesto Contreras Eljuri.

Consultor

Tlf.: 0412-722.53.32

Posted

Python is enabled on all accounts by default. Is there anything in particular you're trying to do that you would like assistance with?

Posted

I do not see it in cpanel, as PHP and Java appear.

 

Although I have not really executed any script

 

Thank you very much and I'll advise you to try it.

Posted

There is no button in cpanel for python because you don't need to request access to it like you do with java. It's enabled on all accounts as soon as you create the account. If you need help getting started with python just let us know what you're trying to do and we can help.

Posted

I'm going to try Python:

 

Working with the line #!/Usr/bin/python in my program

I placed an *index.html* file in the *public_html* directory that then

calls a program in python with name *valida.py*. That .py I placed it in

the */public_html/cgi-bin* directory

when executing it

I returned:

"Not Found

The requested URL /valida.py was

not found on this server.

Additionally, a 404 Not Found error

was encountered while trying to

use an ErrorDocument to handle

the request. "

 

The Program:

 

#!/usr/bin/python print 'Content-type: text/plain' print # Prints an empty

line, to end the headers print 'Hello, world!'

 

Thank you so much

 

El dom., 24 mar. 2019 a las 0:30, Heliohost Support ()

escribio:

 

> There is no button in cpanel for python because you don't need to request

> access to it like you do with java. It's enabled on all accounts as soon as

> you create the account. If you need help getting started with python just

> let us know what you're trying to do and we can help.

>

> You may view the status of your ticket by visiting:

>

> https://www.helionet.org/index/index.php?showtopic=35404

>

> Thank you,

> Heliohost support

> https://www.heliohost.org/

> https://www.helionet.org/

>

>

 

--

Ernesto Contreras Eljuri.

Consultor

Tlf.: 0412-722.53.32

Posted

Solved Solved Solved Solved Solved!!!!

 

It was a subject with the permission, the file did not have 755 permissions.

 

Thank a lot

 

El dom., 24 mar. 2019 a las 16:04, Heliohost Support ()

escribio:

 

> I'm going to try Python:

> Working with the line #!/Usr/bin/python in my program

> I placed an *index.html* file in the *public_html* directory that then

> calls a program in python with name *valida.py*. That .py I placed it in

> the */public_html/cgi-bin* directory

> when executing it

> I returned:

> "Not Found

> The requested URL /valida.py was

> not found on this server.

> Additionally, a 404 Not Found error

> was encountered while trying to

> use an ErrorDocument to handle

> the request. "

> The Program:

> #!/usr/bin/python print 'Content-type: text/plain' print # Prints an empty

> line, to end the headers print 'Hello, world!'

> Thank you so much

> El dom., 24 mar. 2019 a las 0:30, Heliohost Support ()

> escribio:

> > There is no button in cpanel for python because you don't need to request

> > access to it like you do with java. It's enabled on all accounts as soon

> as

> > you create the account. If you need help getting started with python just

> > let us know what you're trying to do and we can help.

> >

> > You may view the status of your ticket by visiting:

> >

> > https://www.helionet.org/index/index.php?showtopic=35404

> >

> > Thank you,

> > Heliohost support

> > https://www.heliohost.org/

> > https://www.helionet.org/

> >

> >

> --

> Ernesto Contreras Eljuri.

> Consultor

> Tlf.: 0412-722.53.32

>

> You may view the status of your ticket by visiting:

>

> https://www.helionet.org/index/index.php?showtopic=35404

>

> Thank you,

> Heliohost support

> https://www.heliohost.org/

> https://www.helionet.org/

>

>

 

--

Ernesto Contreras Eljuri.

Consultor

Tlf.: 0412-722.53.32

Guest
This topic is now closed to further replies.
×
×
  • Create New...