Skip to content

does not work with apache wsgi server #2

Open
@savelov

Description

@savelov

although the examples works as standalone, I could not use it with apache2 wsgi module (python3) - renaming app object to application. I had to switch to flask-restplus instead. probably issue is with parsers/ resources that should be initialized differently

Activity

yorek

yorek commented on Aug 9, 2020

@yorek
Contributor

Thanks for the feedback. I have tried this only on my local machine with Python on Windows using the integrated HTTPS Server during development or on Azure using a Azure Web App running on a Linux Backend....I'm not an export on this, so if anyone can help to make sure the script will work also with Apache2 it will great

savelov

savelov commented on Feb 14, 2021

@savelov
Author

I have uploaded the example rest api working over mssql connection on flask_restplus on https://github.com/savelov/restful_demo.
It works with apache wsgi, and also I had to switch to freetds odbc as microsoft does not ship arm64 binary for mssql odbc client on linux

yorek

yorek commented on Feb 15, 2021

@yorek
Contributor

Would be great if you could make the README a bit more helpful.You mentioned Apache2 before. For example, you could add more details on make your repository work with it. Also adding some more info to help a developer using your repo, understanding what the code will do and how that set up an local (or cloud?) environment to run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      does not work with apache wsgi server · Issue #2 · Azure-Samples/azure-sql-db-python-rest-api