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 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据