[Flask] Need help deploying using mod_wsgi (Apache)

Lars Peter Søndergaard lps at chireiden.net
Wed Feb 10 01:24:24 EST 2016


On Wed, 10 Feb 2016 13:57:28 +0800 King Kong <kingkong88 at gmail.com>
wrote:

> nitori, does that mean that I must first convert my app into a
> package with a __init__.py file?

No, not necessarily.

> I am now hitting a 403 Forbidden (You don't have permission to
> access /api on this server.)  Log shows: [authz_core:error] [pid
> 6817:tid 3021182000] [client 220.xxx.xxx.xxx:56401] AH01630: client
> denied by server configuration: /Z/flask/app.wsgi. (I think my
> app.wsgi file hasn't got the chance to run yet.)

Unfortunately I don't have much experience with wsgi configuration in
apache. So I can't really help there.

-- 
nitori
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/flask/attachments/20160210/6877aa26/attachment.sig>


More information about the Flask mailing list