win7 nginx 安裝 typecho 不能登錄
問題描述
本地 win7 x64 系統(tǒng),安裝的是 php5.4 和 nginx1.7
安裝之后,可以通過后臺查詢 user 表數(shù)據(jù)都已經(jīng)存在。前臺頁面點擊都很正常。就是不能登錄。
登錄之后,還是登錄界面。
百度找到修改 Request.php 的方法不起作用。
剛剛用 chrome 跟蹤了下,得到下面的結果
Request URL:http://yansen2.com/index.php/action/login?_=44b28e8789e68c09d8b15e776616da3bRequest Method:POSTStatus Code:302 Moved TemporarilyRequest Headersview sourceAccept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Encoding:gzip,deflate,sdchAccept-Language:en-US,en;q=0.8Cache-Control:max-age=0Connection:keep-aliveContent-Length:31Content-Type:application/x-www-form-urlencodedCookie:PHPSESSID=u1fnru2frqa5qetbv6fvbv14l1; __typecho_lang=zh_CNHost:yansen2.comOrigin:http://yansen2.comReferer:http://yansen2.com/admin/login.phpUser-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36Query String Parametersview sourceview URL encoded_:44b28e8789e68c09d8b15e776616da3bForm Dataview sourceview URL encodedname:yansenpassword:1referer:Response Headersview sourceConnection:keep-aliveContent-Type:text/html; charset=UTF-8Date:Wed, 24 Jun 2015 11:52:00 GMTLocation:http://yansen2.com/admin/login.phpServer:nginx/1.7.0Transfer-Encoding:chunkedX-Powered-By:PHP/5.4.28
問題解答
回答1:https://github.com/typecho/typecho/issues/390
你可能遇到的是這個問題?
相關文章:
1. docker鏡像push報錯2. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””3. html5 - datatables 加載不出來數(shù)據(jù)。4. Docker for Mac 創(chuàng)建的dnsmasq容器連不上/不工作的問題5. node.js - mongodb查找子對象的名稱為某個值的對象的方法6. docker 下面創(chuàng)建的IMAGE 他們的 ID 一樣?這個是怎么回事????7. 運行python程序時出現(xiàn)“應用程序發(fā)生異常”的內(nèi)存錯誤?8. html5和Flash對抗是什么情況?9. 測試自動化html元素選擇器元素ID或DataAttribute [關閉]10. 前端 - @media query 使用出現(xiàn)的問題?

網(wǎng)公網(wǎng)安備