我正在处理一台新服务器,通过yum安装了"Web Server"组件。Php和mysql正常工作,但我无法让 .htaccess 正常工作。
这是我的测试 .htaccess 文件:
谢谢。
这是我的测试 .htaccess 文件:
WASD_TEST_CALL_ERROR
我把这个放在一个测试文件夹中的 .htaccess 文件里,并且还有一个 index.html 页面。它没有报错,而是继续加载 index 页面而没有显示任何错误。谢谢。
Failed to restart httpd.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
的错误提示,则需要执行sudo httpd restart
。 - Mooze