forked from orbit-oss/flask
Various documentation fixups
This commit is contained in:
parent
9074bc46af
commit
a8a98bc6b6
3 changed files with 15 additions and 13 deletions
|
|
@ -54,14 +54,14 @@ can execute it:
|
|||
Configuring Apache
|
||||
------------------
|
||||
|
||||
The example above is good enough for a basic Apache deployment but your `.fcgi`
|
||||
file will appear in your application URL e.g.
|
||||
example.com/yourapplication.fcgi/news/. There are few ways to configure your
|
||||
application so that yourapplication.fcgi does not appear in the URL. A
|
||||
preferable way is to use the ScriptAlias and SetHandler configuration directives
|
||||
to route requests to the FastCGI server. The following example uses
|
||||
FastCgiServer to start 5 instances of the application which will handle all
|
||||
incoming requests:
|
||||
The example above is good enough for a basic Apache deployment but your
|
||||
`.fcgi` file will appear in your application URL e.g.
|
||||
example.com/yourapplication.fcgi/news/. There are few ways to configure
|
||||
your application so that yourapplication.fcgi does not appear in the URL.
|
||||
A preferable way is to use the ScriptAlias and SetHandler configuration
|
||||
directives to route requests to the FastCGI server. The following example
|
||||
uses FastCgiServer to start 5 instances of the application which will
|
||||
handle all incoming requests::
|
||||
|
||||
LoadModule fastcgi_module /usr/lib64/httpd/modules/mod_fastcgi.so
|
||||
|
||||
|
|
@ -79,10 +79,11 @@ incoming requests:
|
|||
</Location>
|
||||
</VirtualHost>
|
||||
|
||||
These processes will be managed by Apache. If you're using an standalone FastCGI
|
||||
server, you can use the FastCgiExternalServer directive instead. Note that in
|
||||
the following the path is not real, it's simply used as an identifier to other
|
||||
directives such as AliasMatch:
|
||||
These processes will be managed by Apache. If you're using an standalone
|
||||
FastCGI server, you can use the FastCgiExternalServer directive instead.
|
||||
Note that in the following the path is not real, it's simply used as an
|
||||
identifier to other
|
||||
directives such as AliasMatch::
|
||||
|
||||
FastCgiServer /var/www/html/yourapplication -host 127.0.0.1:3000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue