403 Forbidden error with Django and mod_wsgi

前端 未结 5 816
梦谈多话
梦谈多话 2020-12-09 07:52

I created Django project in home directory so it is in home directory.

Setup

Django Verison  : 1.5.1
Python Version  : 2.7.5
mod_wsg         


        
5条回答
  •  Happy的楠姐
    2020-12-09 08:38

    There is one other gotcha:

    Check your httpd.conf file for the following configuration:

    
          AddHandler cgi-script .cgi .pl .py
    
    

    This will cause the error.

    .py MUST NOT be configured as a CGI script

提交回复
热议问题