diff options
| author | Jason Pellerin <jpellerin@gmail.com> | 2006-11-29 19:51:54 +0000 |
|---|---|---|
| committer | Jason Pellerin <jpellerin@gmail.com> | 2006-11-29 19:51:54 +0000 |
| commit | f6d48b5d02acc7cd8d71ffe895fbf41c7c9ae2b7 (patch) | |
| tree | e917b17718dc2bec225e37d9f452cfd734c5ef6a /docs/fastcgi.txt | |
| parent | c000f6a48061839d064143be45d2453b5cf97311 (diff) | |
[multi-db] Merge trunk to [3764]. Some tests still failing.
git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/fastcgi.txt')
| -rw-r--r-- | docs/fastcgi.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/fastcgi.txt b/docs/fastcgi.txt index 41d50d97a1..e2f4e933b4 100644 --- a/docs/fastcgi.txt +++ b/docs/fastcgi.txt @@ -270,7 +270,7 @@ In your Web root directory, add this to a file named ``.htaccess`` :: AddHandler fastcgi-script .fcgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^/(.*)$ /mysite.fcgi/$1 [QSA,L] + RewriteRule ^(.*)$ mysite.fcgi/$1 [QSA,L] Then, create a small script that tells Apache how to spawn your FastCGI program. Create a file ``mysite.fcgi`` and place it in your Web directory, and @@ -289,7 +289,7 @@ be sure to make it executable :: os.environ['DJANGO_SETTINGS_MODULE'] = "myproject.settings" from django.core.servers.fastcgi import runfastcgi - runfastcgi(["method=threaded", "daemonize=false"]) + runfastcgi(method="threaded", daemonize="false") Restarting the spawned server ----------------------------- |
