Laravel 5.6 中文文档/etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.test 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名添加到 hosts 文件,就可以在浏览器中通过该域名访问站点了: http://homestead.test 注:在真正可以访问之前还需要通过 并安装 MariaDB,MariaDB 是 MySQL 的替代品,完全兼容 MySQL,所以在应用数据库配置中你仍然可以使用 mysql 驱动: box: laravel/homestead ip: "192.168.10.10" memory: 2048 cpus: 4 provider: virtualbox mariadb: true 安装 Elasticsearch 要安装 Elasticsearch 分配超过操作系统一半的内存,因此确保 Homestead 机器内存至少是分配给 Elasticsearch 的两倍: box: laravel/homestead ip: "192.168.10.10" memory: 4096 cpus: 4 provider: virtualbox elasticsearch: 6 注:查看 Elasticsearch0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档Retry-After: php artisan down --message="Upgrading Database" --ret ry=60 即使在维护模式下,也可以通过 allow 选项指定 IP 地址或网络来访 问应用: php artisan down --allow=127.0.0.1 --allow=192.168.0. 0/16 要关闭维护模式,开启站点,对应的 Artisan 们 以 homestead.test 域名映射为例,添加到 hosts 文件的记录如下 所示: 192.168.10.10 homestead.test 确保 IP 地址和你的 Homestead.yaml 文件中的 ip 配置项一致,一 旦你将域名添加到 hosts 文件,就可以在浏览器中通过该域名访问 站点了: http://homestead.test 本文档由学院君提供 学院君致力于提供优质 vendor/bin/homestead make Windows: vendor\\bin\\homestead make 以我的项目 laravel6 为例,生成的 Homestead.yaml 配置文件如 下: ip: 192.168.10.10 memory: 2048 cpus: 2 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: -0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.3 中文文档homestead.app 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 57 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名放置到 hosts 文件,就可 以在浏览器中通过该域名访问站点了: http://homestead.app 选项会移除 MySQL 并安装 MariaDB,MariaDB 是 MySQL 的替代品,所以在应用数据库配置中你 仍然可以使用 mysql 驱动: box: laravel/homestead ip: "192.168.20.20" memory: 2048 cpus: 4 provider: virtualbox mariadb: true 3、日常使用 全局访问 Homestead .env 中默认提供的。 想要通过本地的 Navicat 或 Sequel Pro 连接到 Homestead 上的 MySQL 或 Postgres 数据库, 可以通过新建连接来实现,主机 IP 都是 127.0.0.1,对于 MySQL 而言,端口号是 33060,对 Postgres 而言,端口号是 54320,用户名/密码是 homestead/secret。 注意:只有从本地连接0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.0 Documentation
lines you add to this file will look like the following: 192.168.10.10 homestead.app Make sure the IP address listed is the one you set in your Homestead.yaml file. Once you have added the domain to Date Format Different Digits Digits Between E-Mail Exists (Database) Image (File) In Integer IP Address Max MIME Types Min Not In Numeric Regular Expression Required Required If Required field under validation must have an integer value. The field under validation must be formatted as an IP address. The field under validation must be less than or equal to a maximum value. Strings, numerics0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 5.1 中文文档上,该文件位于/etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名放置到 hosts 文件, 就可以在浏览器中通过该域名访问站点了! http://homestead.app 2.3 的 local 数据库配置已经为使用数据库做好了设置。 想要通过本地的 Navicat 或 Sequel Pro 连接上 MySQL 或 Postgres 数据库,可以通过新建 连接来实现,主机 IP 都是 127.0.0.1,对于 MySQL 而言,端口号是 33060,对 Postgres 而言,端口号是 54320,用户名/密码是 homestead/secret。 注意:只有从本地连接 Illuminate\Foundation\Auth\ThrottlesLogins trait 可以用于限制用户登录失败次数。默 认情况下,用户在几次登录失败后将在一分钟内不能登录,这种限制基于用户的用户名/邮 箱地址+IP 地址:0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档['web']], function () { // }); 访问频率限制 一个新的访问频率限制中间件已经被内置到框架中,从而允许你轻松限制给定 IP 地址在 指定时间内对某个路由发起请求的数目。例如,要限制某个 IP 地址每分钟只能访问某个 路由 60 次,你可以这么做: Route::get('/api/users', ['middleware' => 'throttle:60 database Session 驱动,该驱动包含更多的用户信息,例如用户 ID、IP 地址以及用户代理,如果你想要继续使用之前的 database 驱动,需要在配置文 件 session.php 中指定 legacy-database 驱动。 如果你想要使用新的驱动,还需要添加 user_id (nullable integer)、ip_address (nullable string) 以及 user_agent /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加 方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名放置到 hosts 文 件,就可以在浏览器中通过该域名访问站点了! 本文档由 Laravel 学院(LaravelAcademy0 码力 | 377 页 | 4.56 MB | 1 年前3
The Laravel Handbook
multiple different sites. There is a default one already set up, and if you copy and paste the public IP address of the server in your browser, you’ll see it working: 92 Now let’s deploy the application starting to become complicated for this handbook, so we’ll just use the default site which works on the IP address instead. Click the default site in the dashboard and you’ll see the site panel: 93 We have branch (usually main ) and click Install Repository. After a while it’s done! But if you go to the IP address again, there’s an error: 95 Mmmm! We don’t see more details because now the site is in a0 码力 | 111 页 | 14.25 MB | 1 年前3
《Slides Dev Web》 12. Risques applicatifs
Spoofing15) Risques non liés à l’application • IoT : souvent mal sécurisé (shodan.io16) • DoS • Spoofing (IP, DNS, ARP) 11https://www.owasp.org/index.php/DOM_Based_XSS 12https://www.owasp.org/index.php/CSRF hn/ 32https://hackertarget.com/cowrie-honeypot-analysis-24hrs/ 10 Figure 4: Auth 11 – Session, IP, user agent, proxy, … • Utiliser un framework – ces bonnes pratiques sont déjà implémentées • Suites0 码力 | 12 页 | 474.37 KB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
Vinton Cerf, responsables du (World Wide) Web et de l’Internet. Qu’est-ce qu’Internet16 ? • un réseau IP Qu’est-ce que le World Wide Web ? • URI/URL, des identifiants uniques • HTML, un langage de publication HTTP est un protocole texte plutôt simple, jugez plutôt: Ce que nous voyons est une connexion TCP/IP au serveur he-arc.ch. Une fois la connexion établie, il envoie en texte ASCII les entêtes HTTP puis0 码力 | 24 页 | 1.03 MB | 1 年前3
Laravel 3.2 Documentation$_SERVER global array: echo Request::server('http_referer'); Retrieving the requester's IP address: echo Request::ip(); Determining if the current request is using HTTPS: if (Request::secure()) {0 码力 | 139 页 | 1.13 MB | 1 年前3
共 12 条
- 1
- 2













