Flask Documentation (1.1.x)get_send_file_max_age() on the application or blueprint. Default: timedelta(hours=12) (43200 seconds) SERVER_NAME Inform the application what host and port it is bound to. Required for subdomain route matching application served on localhost at port 8000, setting appropriate headers: server { listen 80; server_name _; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location host_matching attribute. Defaults to False. subdomain_matching – consider the subdomain relative to SERVER_NAME when matching routes. Defaults to False. template_folder – the folder that contains the templates0 码力 | 428 页 | 895.98 KB | 1 年前3
waitress Documentation v2.1.1attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. New in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.0attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. New in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment0 码力 | 52 页 | 57.95 KB | 1 年前3
waitress Documentation v3.0.1
attempts to guess at what the server_name should be for a listen socket, instead it always use a new adjustment/argument named server_name. Please see the documentation for server_name in https://docs.pylonsproject information specified in the trusted proxy headers. This will setup the following variables: HTTP_HOST SERVER_NAME SERVER_PORT REMOTE_ADDR REMOTE_PORT (if available) wsgi.url_scheme Waitress also has support for surrounding the IP address with brackets. Added in version 1.0. server_name This is the value that will be placed in the WSGI environment as SERVER_NAME, the only time that this value is used in the WSGI environment0 码力 | 55 页 | 56.36 KB | 1 年前3
httpd 2.2.29 中文文档URLs, etc. It is configured with the ServerName directive, and it is available to CGIs via the SERVER_NAME environment variable. The actual value used at run time is controlled by the UseCanonicalName setting /www/hosts/${lowercase:%{SERVER_NAME}}/docs/$1 ## and now deal with CGIs - we have to force a MIME type RewriteCond %{REQUEST_URI} ^/cgi-bin/ RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{SERVER_NAME}}/cgi-bin/$1 ^/cgi-bin/ # check the hostname is right so that the RewriteRule works RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.isp\.com$ # concatenate the virtual host name onto the start of the URI # the0 码力 | 1854 页 | 1.48 MB | 1 年前3
httpd 2.2.27 中文文档URLs, etc. It is configured with the ServerName directive, and it is available to CGIs via the SERVER_NAME environment variable. The actual value used at run time is controlled by the UseCanonicalName setting /www/hosts/${lowercase:%{SERVER_NAME}}/docs/$1 ## and now deal with CGIs - we have to force a MIME type RewriteCond %{REQUEST_URI} ^/cgi-bin/ RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{SERVER_NAME}}/cgi-bin/$1 ^/cgi-bin/ # check the hostname is right so that the RewriteRule works RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.isp\.com$ # concatenate the virtual host name onto the start of the URI # the0 码力 | 1849 页 | 1.47 MB | 1 年前3
httpd 2.2.31 中文文档URLs, etc. It is configured with the ServerName directive, and it is available to CGIs via the SERVER_NAME environment variable. The actual value used at run time is controlled by the UseCanonicalName setting /www/hosts/${lowercase:%{SERVER_NAME}}/docs/$1 ## and now deal with CGIs - we have to force a MIME type RewriteCond %{REQUEST_URI} ^/cgi-bin/ RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{SERVER_NAME}}/cgi-bin/$1 ^/cgi-bin/ # check the hostname is right so that the RewriteRule works RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.isp\.com$ # concatenate the virtual host name onto the start of the URI # the0 码力 | 1860 页 | 1.48 MB | 1 年前3
httpd 2.2.27.dev 中文文档URLs, etc. It is configured with the ServerName directive, and it is available to CGIs via the SERVER_NAME environment variable. The actual value used at run time is controlled by the UseCanonicalName setting /www/hosts/${lowercase:%{SERVER_NAME}}/docs/$1 ## and now deal with CGIs - we have to force a MIME type RewriteCond %{REQUEST_URI} ^/cgi-bin/ RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{SERVER_NAME}}/cgi-bin/$1 ^/cgi-bin/ # check the hostname is right so that the RewriteRule works RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.isp\.com$ # concatenate the virtual host name onto the start of the URI # the0 码力 | 1849 页 | 1.47 MB | 1 年前3
httpd 2.2.32 中文文档URLs, etc. It is configured with the ServerName directive, and it is available to CGIs via the SERVER_NAME environment variable. The actual value used at run time is controlled by the UseCanonicalName setting /www/hosts/${lowercase:%{SERVER_NAME}}/docs/$1 ## and now deal with CGIs - we have to force a MIME type RewriteCond %{REQUEST_URI} ^/cgi-bin/ RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{SERVER_NAME}}/cgi-bin/$1 ^/cgi-bin/ # check the hostname is right so that the RewriteRule works RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.isp\.com$ # concatenate the virtual host name onto the start of the URI # the0 码力 | 1866 页 | 1.48 MB | 1 年前3
httpd 2.4.23 中文文档URLs etc. It is configured with the ServerName directive, and it is available to CGIs via the SERVER_NAME environment variable. The actual value used at run time is controlled by the UseCanonicalName setting internals: date and time: specials: DOCUMENT_ROOT SCRIPT_GROUP SCRIPT_USER SERVER_ADDR SERVER_ADMIN SERVER_NAME SERVER_PORT TIME_YEAR TIME_MON TIME_DAY TIME_HOUR TIME_MIN TIME_SEC API_VERSION CONN_REMOTE_ADDR Unix system. Most are documented here or elsewhere in the Manual or in the CGI specification. SERVER_NAME and SERVER_PORT depend on the values of UseCanonicalName and UseCanonicalPhysicalPort respectively0 码力 | 2559 页 | 2.11 MB | 1 年前3
共 270 条
- 1
- 2
- 3
- 4
- 5
- 6
- 27













