Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
由于某种原因,网站受到恶意软件攻击后,所有以 开头的 URL /user/*,包括/user和/user/*/edit,都会重定向到某个广告页面。现在他们正在返回一个空白页。我已尝试启用错误报告显示,但屏幕上没有显示任何内容 - 只是 WSOD。我File does not exist: /var/www/user在 apache 错误日志上得到了。
/user/*
/user
/user/*/edit
File does not exist: /var/www/user
也许我可以直接在 .htaccess 上对目标/user/URL 进行 mod 重写?
/user/
Drupal 在日志中说什么?
您可以通过 drush 启用 dblog 模块,然后打印日志:
drush @site pm-enable dblog
德鲁什@site ws
*请将“@site”替换为您的值