Jump to content

ujcis

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ujcis's Achievements

Rookie

Rookie (2/14)

  • Collaborator Rare
  • Dedicated Rare
  • Week One Done Rare
  • Reacting Well Rare
  • First Post Rare

Recent Badges

2

Reputation

  1. Oh, for some silly reason I thought getting flask to work required getting Python CGI to work first. My intention is to get Flask running on the new domain. I've deleted the test.py from cgi-bin folder leaving flask.wsgi, .htaccess, and myapp.py in the root. But flask still doesn't work. Also I've noticed a new folder in my log folder corresponding to my new domain, however it's empty even though I'm getting an Internal Server error.
  2. Thanks, but I still have some challenges. I'm not really sure how python/flask works on additional domains. My new alutagram.helioho.st folder contains a cgi-bin folder and an index.html file. Things I've tried to get Flask running: 1. I've tried making the required files from the tutorial: https://wiki.helionet.org/tutorials/flask 2. I followed the tutorial on https://wiki.helionet.org/tutorials/python and made the test.py executable file in the new cgi-bin folder. Result: Flask wasn't running so I made a .htaccess file with the following content in the alutagram.helioho.st folder: ` Options +ExecCGI RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(flask\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ flask.wsgi/$1 [QSA,PT,L] ` The HTACCESS file causes an Internal Server Error, but nothing shows in my error_log
  3. Hi. I'd like to request WSGI control for my newly added domain alutagram.helioho.st. Thanks!
  4. Yes please. Thank you! alutagram.heliohost.org or helioho.st
  5. Oh, I don't intend to delete the first project. It's active and running. I only hoped there was a way to either get the error_log to record logs from both projects, or at least record logs only the new project if it can't handle from both. While I no longer need the logs from httpdocs/ujcis, I still need the project running.
  6. While building my first Flask project, I noticed my error_log displayed errors almost in real time after requesting WSGI control. However, my newer project located in ujcis.helioho.st/aluta doesn't show errors from the /aluta project at all. Do I need to request WSGI control specifically for the new project (httpdocs/aluta) for errors originating from the project to reflect in the log/error_log file? P.S: I don't mind if errors are turned off for the first project (ujcis) since I'm no longer actively developing that project. Thanks!
  7. Hmm... It's weird because I'm not trying to access any folder called "instance" in my code. My codebase is very small and I've crosschecked to ensure that I'm not doing that. Also, I tried just creating the folder called "instance" and even created an additional "instance" flask route just to see if it'll mitigate the error, but nothing. And my logs/error_log still doesn't display any errors from this project...it only does from my first httpdocs/ujcis flask project. Thanks for your help!
  8. Thanks! But one more thing... I've been using the modified /home/ujcis.helioho.st/httpdocs/ujcis/flask.wsgi to see newest changes on the /home/ujcis.helioho.st/httpdocs/ujcis/ project. However, I yesterday morning, added a newer project to the httpdocs project called "aluta...". Since then I've been on an unclear error with code 500 (unclear since it doesn't show up in my error_log, and modifying the new project's flask.wsgi doesn't refresh the project either. I thought I misunderstood the instructions and went ahead to modify the older project's flask.wsgi instead, but nothing happens either. I need a little help with this. Thank you!
  9. Hi there. I just set up my flask app, but I'd like wsgi control since I'm in active development. username=ujcis, server name=ujcis.helioho.st (Johnny), and the domain name=ujcis.helioho.st/cis. Thank you!
  10. I'm on python 3.12 based on my setup from the link you shared. Also I went throuht the rules earlier. Thanks!
  11. Hi there. I just started trying out Johnny / HelioHost yesterday. I'd like to request the python module PyPDF2 to be added to my account ujcis.helioho.st. Thank you.
×
×
  • Create New...