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 路由。我相当确定 mod_rewrite 已启用。是否有任何其他配置需要更改或设置?是否应该自动读取 routing.yml 文件?
routing.yml 与 Apache 无关。假设你有 Apache 指向适当的目录和适当的索引,Symfony 应该处理其余的。