我想安装&在/journal
中配置我的WordPress网站,如:
安装完成后,当我尝试访问/wp-admin
时,他们说我的浏览器中没有配置Cookie设置但我无法登录。当我点击curl
时:
$ curl -I localhost/journal/wp-login.php
HTTP/1.1 200 OK
Date: Tue, 13 Feb 2018 12:02:28 GMT
Server: Apache/2.4.6 (Amazon Linux 2) PHP/7.2.0
X-Powered-By: PHP/7.2.0
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Set-Cookie: wordpress_test_cookie=WP+Cookie+check; path=/journal/journal/; secure
X-Frame-Options: SAMEORIGIN
Content-Type: text/html; charset=UTF-8
我认为Cookie路径为/journal/journal/
是我无法正常登录的原因。需要什么样的附加配置来正确设置我的cookie?