Jump to content

Sn1F3rt

Moderators
  • Posts

    1,412
  • Joined

  • Last visited

  • Days Won

    43

Posts posted by Sn1F3rt

  1. Krydos can install them for you. Some of them are already installed, some come packed with Python 3 like os, sys etc. but a few like mysql.connector requires installation.

     

    You can check the list of installed modules on Python 3.7 on Tommy here: .heliohost.org/cgi-bin/modules37.py

    I didn't note that you're not on Tommy. As flazepe said, refer the link he's given below.

  2. Hello Krydos,

     

    Could you please help to enable Remote Access for my both newly created databases below:

     

    1- PostgreSQL:

    - User: burman-admin

    - Database name: burman_ntfp

     

    2- MySQL:

    - User: burman_adminmysql

    - Database name: burman_mysql

     

    3- IP (for both two above databases): All IP

     

    Thank you very much in advance.

     

    In future, please consider creating a new topic, cuz the Solved topics are generally not reviewed again by Krydos.

     

    For the MySQL DB, you can enable remote access yourself by going to the Remote MySQL tab in cPanel and select the database and add a '%' in place of the IP addresses.

     

    For the PostgreSQL DB, Krydos will enable remote access for you.

  3. Go to the folder of your subdomain, and create a file named .htaccess and paste the following content into the file:

    IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80 
    RewriteRule ^(.*)$ https://webmail.galactico.fashion/$1 [R,L]
    </IfModule>
    
    That's redirect all HTTP requests on the subdomain to https. Hope that helps! :)
  4. Yeah well my internet speed is sready around 80 Mbps atm. My current provider also has unlimited STD/Local free calls and that's charged at $13 for 150GB monthly data. There's no cable TV though.

     

    The new connection I'm planning has no phone nor TV service but as aforesaid they're offering 500GB data at 200 Mbps and I've used the ISP (my school's provider) and internet speed is ~100 Mbps. That's for $10 a month, and I'm quite okay with it. :D

  5. @yashrs Here in Delhi we've Airtel broadband or BSNL, (I'm gonna install ACT this month) both having the same problem. That surprisingly didn't happen all the time, but sometimes it does cause problem.

     

    @wolstech Well I agree that the prices you mention are significantly higher, but out here, in the new connection in installing I'll be getting 500GB data at 100-200 Mbps speed, at $10 a month, which is more than enough for me and my family. I feel it's worthless for me to get a static IP paying more than my internet bill, when I've the ease of access from my own OpenVPN server, and thus I don't want to spend anything unnecessary at this time, considering that I've a lot of money pending at my school. :)

  6. That's bcuz your ISP changes your IP to frequently which expires the security token in cPanel and it logs you out everytime.

     

    This isn't any of your fault though, it's your ISP. The only way to tackle this problem is to use a proxy or a VPN.

    • Like 1
  7. I think it should be this though:

    #the below allow to execute shell script
    import os
    try:
        os.system('/usr/bin/python3.7 /path/to/script.py')
        print("done")
    except:
        print("failed")
    
    Cuz the path to the Python compiler is /usr/bin/python3.7

     

    Also, check your line endings in that line : print("Content-Type: text/html\n\n")

     

    Open it using Notepad++ and go to Edit > EOL and check that it's selected to Unix. Otherwise, if it's Windows change it to Unix and the problems should be sorted.

×
×
  • Create New...