Jump to content

Krydos

Chief Executive Officer
  • Posts

    26477
  • Joined

  • Last visited

  • Days Won

    946

Everything posted by Krydos

  1. Alright! Create a folder in public_html called flask /home/username/public_html/flask/ In that folder create a .htaccess file: /home/username/public_html/flask/.htaccess RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(flask\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ flask/flask.wsgi/$1 [QSA,PT,L] Create a file named flask.wsgi import os, sys # edit your username below sys.path.append("/home/username/public_html/flask"); sys.path.insert(0, os.path.dirname(__file__)) from myapp import app as application # make the secret code a little better application.secret_key = 'secret' Create a python script named myapp.py import sys from flask import Flask, __version__ app = Flask(__name__) application = app @app.route("/") def hello(): return """ HelioHost rules!<br><br> <a href="/flask/python/version/">Python version</a><br> <a href="/flask/flask/version/">Flask version</a> """ @app.route("/python/version/") def p_version(): return "Python version %s" % sys.version @app.route("/flask/version/") def f_version(): return "Flask version %s" % __version__ if __name__ == "__main__": app.run() Here is the working example: https://krydos.heliohost.org/flask/ This will only work on Tommy at the moment. Feel free to play around with it and let me know if you have any issues. If everything is working I'll see about writing up a wiki and making a news post about HelioHost now supporting flask.
  2. There you go https://www.studentgovernmentorgatchhs.cu.cc/ All domains created on Tommy or Ricky automatically have SSL certificates installed and updated when they get close to expiring. When you create a new account it takes about 30 mins for the certificate to get installed. If you change your domain the system will check all the domains on the server once a day so you could have to wait up to 24 hours for the SSL to be reinstalled. I forced the system to scan and install the certificate for you. It should now continue to update when the certificate gets close to expiring too.
  3. That looks pretty close to what I use.
  4. There you go http://quickpaydayloansrjnsh.com/
  5. Just use .htaccess. Even I don't really have access to virtualhosts. Cpanel gets very angry at me when I mess with httpd.conf.
  6. It looks like your domain studentgovernmentorgatchhs.cu.cc isn't working and appears to be using cloudflare. Try turning off the cloudflare so we can see what is going on with it.
  7. Thanks a lot! I'm sure this post will help a lot of people.
  8. You have to select the database first otherwise it tells you "No database selected".
  9. To import a .sql file go to https://ricky.heliohost.org:2083/frontend/paper_lantern/sql/PhpMyAdmin.html Select the database, and click import.
  10. You choose the Johnny server which is our experimental server. This means he can be rather unstable quite a lot of the time because of high load. When Johnny is experiencing high load adding a domain can sometimes break or fail halfway through. Our stable production servers, Tommy and Ricky, don't experience these kinds of problems.
  11. ...this one should be pretty self explanatory... The table settings doesn't exist: mysql> use exploit_database; Database changed mysql> show tables; Empty set (0.00 sec) Do you have a .sql file you meant to import perhaps?
  12. The postgresql user cthieme_admin should now be able to remotely access the postgresql database cthieme_tales from any IP.
  13. You didn't add permissions for that account on that database.
  14. Deployed. http://llou21.heliohost.org/roadangel/
  15. You're not the first to request more space. In fact we recently doubled the amount of space that we provide for free just a few months ago because so many people requested it. As a survey of how many people may need another storage increase, may we ask what you need so much space for? What is your current space being used up by? Thanks for your feedback. We already have an internal discussion amongst the administrators of HelioHost regarding ways we could increase the storage of our user's accounts, and we hope to come up with a satisfactory resolution soon.
  16. It looks like the load might be tapering off a bit. Try resetting your password now.
  17. Your account is located on Johnny which is our experimental server which means that it can experience high load quite frequently. Looking at the server monitor http://heliohost.grd.net.pl/monitor/ you can see that Johnny has been having some pretty high load lately. Keep an eye on the image below because logging in might time out or fail if the load is above 10-15: Our stable servers, Ricky and Tommy, don't experience these high load spikes so uptime is a lot higher.
  18. I checked the change password log, and it looks like the failure reason was high load. Your account is located on Johnny which is our experimental server which means that it can experience high load quite frequently. Looking at the server monitor http://heliohost.grd.net.pl/monitor/ you can see that Johnny has been having some pretty high load while you were trying to change your password. Keep an eye on the image below, and logging in or changing your password might time out or fail if the load is above 10-15: Our stable servers, Ricky and Tommy, don't experience these high load spikes so uptime is a lot higher.
  19. $myhost = "localhost"; $myuser = "exploit_user"; $mypass = "whateveryourpasswordis"; $mydb = "exploit_db"; You create your database at https://ricky.heliohost.org:2083/frontend/paper_lantern/sql/index.htmlYou create your database user, and password on that same page. You add permissions for that user to your database on that same page too.
  20. Here's why you were blocked: # lfd: (cpanel) Failed cPanel login from x.x.x.x (AU/Australia/x-x-x-x.static.tpgi.com.au): 5 in the last 3600 secs - Fri May 26 04:57:52 2017 Make sure you're logging in with the right password. Sometimes people get the wrong password saved in their FTP client or something and it just keeps trying to log in with the wrong password over and over. Your block has been removed.
  21. Deployed. http://sh4.heliohost.org/TestWeb/
  22. Well, in the public_html folder create a file called index.html. Inside that file you will need to write your html markup. From there I would read the basics on html https://www.w3schools.com/html/html_basic.asp Like you said you don't want any bells or whistles so the most basic html will do. Let us know if you have any other questions.
  23. You should now be able to remotely access the postgresql database rverah_captum with the postgresql user rverah_admin from any IP.
  24. Glad to hear everything is working for you now.
×
×
  • Create New...