Search results

  1. dimitri85

    How can I host two (or more) Python Flask apps on the same OLS server

    The website only works when the ownership of the folder is nobody. So I followed the steps on the link and created a new user, changed the ownership of the folder to its group and then changed permissions to allow the group to read and write on the folder. I expected to be able to access the...
  2. dimitri85

    How can I host two (or more) Python Flask apps on the same OLS server

    Well... here I am again :rolleyes: For many days, everything has been fine. Now it was time to finally set the DNS record to the new ip. Surprisingly, once again: error 500! The log said: Traceback (most recent call last): File "/home/crm.polenfranchising.com.br/wsgi.py", line 6, in...
  3. dimitri85

    How can I host two (or more) Python Flask apps on the same OLS server

    I did restart the process. Now I've reset everything back and did it all over again, with one single difference. Instead of creating one virtualenv inside each of the virtual hosts directories, ending up with two, I created it on my /home directory, outside of the virtual hosts folders. So...
  4. dimitri85

    How can I host two (or more) Python Flask apps on the same OLS server

    Hey, thanks for answering. I didn't try to use Django because, honestly, I know nothing about it. I skipped the tutorial straight to the Flask part. Either way, yes, before creating the app context in the second virtual host, the first site was working normally. To be more precise, they both...
  5. dimitri85

    How can I host two (or more) Python Flask apps on the same OLS server

    Hi everyone. I have 2 Flask applications hosted on different servers and I would like to concentrate them on the same VPS running OpenLiteSpeed. I tried to follow the only tutorial I could find (https://openlitespeed.org/kb/python-wsgi-applications/) to set it up. I created a virtual host and...
Top