apache - typecho rewrite pathinfo magic problem
仅有的幸福
仅有的幸福 2017-05-16 17:03:52
0
1
720

http://cody.peach3366.tw/admin/ Unable to log in normally, pressing login will result in 404 error
http://cody.peach3366.tw/cody.php phpinfo information, all RUNs have RUN
The original file can work normally on other host systems~
Only this apache24, php5.5.9 new host system cannot work properly~

typecho does not support too new environments?

Wordpress emlog can operate normally on this new system~

Only typecho cannot work properly =..=

Can’t find any reason ~

.htaccess has normal settings

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

apache settings
<Directory "/home/peach3366.tw/cody">
AllowOverride All
Require all granted
</Directory>

仅有的幸福
仅有的幸福

reply all(1)
洪涛

Go and try it. Set cgi.fix_pathinfo = 1 in php.ini
This is how I solved it last time

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!