Django on apache wtih mod_wsgi (Linux) - 403 Forbidden

后端 未结 3 1242
轻奢々
轻奢々 2021-01-19 04:37

Alright, so i am following this tutorial. When i try to access my site through my local server i get this peculiar error:

Forbidden You don\'t have per

3条回答
  •  执念已碎
    2021-01-19 05:07

    I had the same problem.

    your .wsgi script should be located in the /var/www/mysite/ folder and then your config files should be adjusted as necessary.

    Also delete the leading / in :

    .. Alias /static /var/www/mysite/static ..

提交回复
热议问题