How do I run Django and PHP together on one Apache server?

前端 未结 4 502
别那么骄傲
别那么骄傲 2020-11-30 17:29

I can currently run either Django through mod_wsgi or PHP on my Apache server.

My Django projects run at: http://localhost and source is at C:/django_proj

My

4条回答
  •  借酒劲吻你
    2020-11-30 18:10

    I would like to add that if you are using Apache ProxyPass, it's possible to deny certain URL patterns so that it falls to mod_php.

    ProxyPass /wordpress !
    
        Require all granted
    
    

提交回复
热议问题