《Slides Dev Web》02. Introduction aux frameworks PHP
v=iDbyYGrswtg 10 Préparatifs https://github.com/HE-Arc/php-intro-framework/17 $ sudo systemctl start httpd $ cd /var/www/html $ git clone \ > https://github.com/\ > HE-Arc/php-intro-framework $ cd php-intro-framework RewriteRule ^(.*)$ index.php/$1 [L,QSA] Apache le fait via mod_rewrite27 et Nginx try_files28. 27https://httpd.apache.org/docs/current/mod/mod_rewrite.html 28http://nginx.org/en/docs/http/ngx_http_core_module0 码力 | 24 页 | 1.03 MB | 1 年前3
Flask Documentation (1.1.x)problematic values in the WSGI environment usually are REMOTE_ADDR and HTTP_HOST. You can configure your httpd to pass these headers, or you can fix them in middleware. Werkzeug ships a fixer that will solve some $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } If your httpd is not providing these headers, the most common setup invokes the host being set from X-Forwarded-Host uwsgi_pass unix:/tmp/yourapplication.sock; } mod_wsgi (Apache) If you are using the Apache [https://httpd.apache.org/] webserver, consider using mod_wsgi [https://github.com/GrahamDumpleton/mod_wsgi]. Watch0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)problematic values in the WSGI environment usually are REMOTE_ADDR and HTTP_HOST. You can configure your httpd to pass these headers, or you can fix them in middleware. Werkzeug ships a fixer that will solve some X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } If your httpd is not providing these headers, the most common setup invokes the host being set from X-Forwarded-Host 2.4. Most notably, the syntax for directory permissions has changed from httpd 2.2 Order allow,deny Allow from all to httpd 2.4 syntax Require all granted For more information consult the mod_wsgi0 码力 | 291 页 | 1.25 MB | 1 年前3
Falcon v0.2.0 Documentationproblems in your API; works with pdb.set_trace() if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever() 5.2.4 Tutorial In this tutorial we’ll walk through0 码力 | 70 页 | 296.15 KB | 1 年前3
Falcon v0.3.0.1 Documentationproblems in your API; works with pdb.set_trace() if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever() 22 Chapter 5. Documentation Falcon Documentation, Release0 码力 | 77 页 | 311.34 KB | 1 年前3
Falcon v1.0.0 Documentationcode change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever() 5.2.4 Tutorial In this tutorial we’ll walk through0 码力 | 87 页 | 348.15 KB | 1 年前3
Falcon v0.3.0.1 Documentationyour API; works with pdb.set_trace() if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever() Created using Sphinx 1.2.3. index modules | next0 码力 | 126 页 | 345.09 KB | 1 年前3
Falcon v1.1.0 Documentationcode change, and it also works # with pdb. if __name__ == '__main__': httpd = simple_server.make_server('127.0.0.1', 8000, app) httpd.serve_forever() 6.2.4 Tutorial In this tutorial we’ll walk through0 码力 | 113 页 | 426.53 KB | 1 年前3
《Slides Dev Web》 11. HTTPS
autorité de certification si autosigné) • Obtenir le certificat et la clé privée du serveur • Configurer httpd. Pour Apache : – virtual host (port 443), ssl.conf, (ports.conf) • Création de l’arborescence sécurisée0 码力 | 6 页 | 109.17 KB | 1 年前3
《Slides Dev Web》 03. Laravel
Penser à ajouter sa clé publique à Github Apache • Virtual hosts – http-vhosts.conf (activer dans httpd.conf) – Un par site – Pointer dans /public • AllowOverride : active .htaccess • .htaccess : redirection0 码力 | 8 页 | 224.34 KB | 1 年前3
共 114 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12













