CakePHP Cookbook 2.x
instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$1 permanent; } server { listen 80; server_name example.com; # root directive should authentication supports the following keys: realm The realm being authenticated. Defaults to env('SERVER_NAME'). In addition to the common configuration Digest authentication supports the following keys: $this->data[$this->alias]['username'], $this->data[$this->alias]['password'], env('SERVER_NAME') ); return true; } } Passwords for digest authentication need a bit more information0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$1 permanent; } server { listen 80; server_name example.com; # root directive should be global authentication supports the following keys: • realm The realm being authenticated. Defaults to env('SERVER_NAME'). In addition to the common configuration Digest authentication supports the following keys: password( $this->data[$this->alias]['username'], $this->data[$this->alias]['password'], env('SERVER_NAME') ); return true; } } Passwords for digest authentication need a bit more information than other0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
80; listen [::]:80; server_name www.example.com; return 301 http://example.com$request_uri; } server { listen 80; listen [::]:80; server_name example.com; root /var/www/example authentication supports the following keys: realm The realm being authenticated. Defaults to env('SERVER_NAME'). In addition to the common configuration Digest authentication supports the following keys: DigestAuthenticate::password( $entity->username, $entity->plain_password, env('SERVER_NAME') ); return true; } } Passwords for digest authentication need a bit more information0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
server { listen 80; listen [::]:80; server_name www.example.com; return 301 http://example.com$request_uri; } server { listen 80; listen [::]:80; server_name example.com; root /var/www/example.com/public/webroot; authentication supports the following keys: • realm The realm being authenticated. Defaults to env('SERVER_NAME'). In addition to the common configuration Digest authentication supports the following keys: $entity->digest_hash = DigestAuthenticate::password( $entity->username, $entity->plain_password, env('SERVER_NAME') ); return true; } } Passwords for digest authentication need a bit more information than other0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
80; listen [::]:80; server_name www.example.com; return 301 http://example.com$request_uri; } server { listen 80; listen [::]:80; server_name example.com; root /var/www/example authentication supports the following keys: realm The realm being authenticated. Defaults to env('SERVER_NAME'). In addition to the common configuration Digest authentication supports the following keys: DigestAuthenticate::password( $entity->username, $entity->plain_password, env('SERVER_NAME') ); return true; } } Passwords for digest authentication need a bit more information0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
4.x (continued from previous page) server_name www.example.com; return 301 http://example.com$request_uri; } server { listen 80; listen [::]:80; server_name example.com; root /var/www/example.com/public/webroot; authentication supports the following keys: • realm The realm being authenticated. Defaults to env('SERVER_NAME'). In addition to the common configuration Digest authentication supports the following keys: $entity->digest_hash = DigestAuthenticate::password( $entity->username, $entity->plain_password, env('SERVER_NAME') ); return true; } } Passwords for digest authentication need a bit more information than other0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.x80; listen [::]:80; server_name www.example.com; return 301 http://example.com$request_uri; } server { listen 80; listen [::]:80; server_name example.com; root /var/www/example0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x$args; } A sample of the server directive is as follows: server { listen 80; listen [::]:80; server_name www.example.com; return 301 http://example.com$request_uri; (continues on next page) URL Rewriting Documentation, Release 5.x (continued from previous page) } server { listen 80; listen [::]:80; server_name example.com; root /var/www/example.com/public/webroot; index index.php; access_log /var/www/example0 码力 | 848 页 | 2.53 MB | 1 年前3
共 8 条
- 1













