Django 1.8.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent easy to configure Web Server. It supports the widespread technologies nowa- days: FastCGI, SCGI, PHP, CGI, SSI, TLS and SSL encrypted connections, Virtual hosts, Authentication, on the fly encoding, Load Balancing0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, SSI, TLS and SSL encrypted connections, Virtual hosts, Authentication, on the fly encoding, Load Balancing0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 1.11.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent import re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.10.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent import re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.11.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.0.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent import re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.0.x DocumentationDjango lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World code paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting0 码力 | 2746 页 | 2.67 MB | 1 年前3
Django 2.1.x Documentationcode paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent import re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting validation, to a directory that’s within your Web server’s document root, then somebody could upload a CGI or PHP script and execute that script by visiting its URL on your site. Don’t allow that. Also note0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.1.x Documentationcode paths that use the django.http.HttpRequest.is_ajax() method. CGI specification The headers sent via **extra should follow CGI specification. For example, emulating a different “Host” header as sent re IGNORABLE_404_URLS = [ re.compile(r'\.(php|cgi)$'), re.compile(r'^/phpmyadmin/'), ] In this example, a 404 to any URL ending with .php or .cgi will not be reported. Neither will any URL starting validation, to a directory that’s within your Web server’s document root, then somebody could upload a CGI or PHP script and execute that script by visiting its URL on your site. Don’t allow that. Also note0 码力 | 2790 页 | 2.71 MB | 1 年前3
共 30 条
- 1
- 2
- 3













