dream02008 2012-03-29 11:04
浏览 26
已采纳

文件名中的双扩展名? * .css.php 404

I'm using a WordPress plugin Easy FancyBox. It uses a dynamic php file for it's CSS. The problem is that my server gives a 404 when trying to access the file, I think because of the dual extensions. The filename is easy-fancybox.css.php The plugin was working perfectly until I switched servers. Is there a config somewhere where I can allow this?

Turns out I can't access any .php file, so it's not the double extension thing, lol oops. I still don't know why though.

  • 写回答

2条回答 默认 最新

  • douqiao8370 2012-03-29 12:59
    关注

    After a few hours I finally fixed it. File permissions had to be 755 on the file. I had them at 775. I don't know why it's set up like this, but I found the answer here: IN Wordpress, .php files within the theme folder do not run, but return 404 error

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部