---
title: "Update WSGI App without Restart Apache ¶"
author: "eonbell"
date: "2011-02-25T13:32:38Z"
tags: []
categories: ["编程语言"]
slug: "update-wsgi-app-without-restart-apache"
draft: false
lastmod: "2011-02-25T13:32:38Z"
id: 929720
url: "https://eonbell.iteye.com/blog/929720"
---

1. in the apace configuration page, add the two directives before WsgiScriptAlias? 

    WSGIDaemonProcess bug-reporter threads=25 WSGIProcessGroup bug-reporter

    WSGIScriptAlias / /app/bug_reporter/django.wsgi

   2. restart apache 

   3. to renew process, just touch the xxxx.wsgi file in the app folder 

touch django.wsgi