I installed httpd and mod_wsgi as been told here. And changed all the configuration it was written there.
but still when I put a python file path in browser URl bar, I get a raw file data
Respond I get:
print("Hello Brother :)")
This is not an wsgi application. See Quick Configuration Guide — mod_wsgi 4.9.4 documentation
Also you need to configure Apache in some way that it know which is your Python wsgi application. See
and/or the example in the Arch Wiki. Apache HTTP Server/mod_wsgi - ArchWiki
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.