search

Home  >  Q&A  >  body text

apache - typecho rewrite pathinfo magic problem

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>

仅有的幸福仅有的幸福2866 days ago833

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 17:05:52

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

    reply
    0
  • Cancelreply