dream02008 2012-03-29 19: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 20: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条)

报告相同问题?

悬赏问题

  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?