Drupal 6.15 干净的 url 并不适用于所有人
大家好, 我在这里发布了一个查询。 Drupal url 别名和视图以及分类的清除 url问题但我认为我需要更具体。
问题是,在将 drupal 从版本 5.1 升级到版本 6.15 并启用干净 URL 后,大多数 URL 都可以工作,但某些 URL(例如管理员登录/注销和分类相关页面)无法工作。
我在 drupal 和 google 上搜索过。报告的大多数问题都是干净的网址完全不起作用。不过,我有干净的网址,但部分有效。
对此的任何建议都非常感谢。并对模棱两可的帖子表示歉意。
编辑:如果我尝试使用网址http://www.example。 com/node/add/story 然后我得到一个访问被拒绝的页面。但如果我尝试 http://www.example.com?q=node/add/故事 我被带到了正确的页面。另外,如果我需要注销, http://www.example.com/logout 带我访问页面被拒绝,但如果我尝试 http://www.example.com?q=logout 我我已成功退出。
更新 问题仍然没有解决。我仍然不确定,可能是什么问题。
HI all,
I had posted a query here. Drupal url alias and views and clear urls for taxonomy issues But i think i need to be more specific.
The issue is that after upgrading drupal from version 5.1 to version 6.15 and enabling clean urls, most of the urls work however some URLS such as admin login/logout and taxonomy related pages do not work.
I have search on drupal and google. Most of the issues reported are of clean urls completely not working. However i have clean urls but that works partially..
Any suggestion on this highly appreciated. And sorry for ambiguous posts.
edit: If i try a url http://www.example.com/node/add/story then i get a access denied page. But if i try http://www.example.com?q=node/add/story i am taken to a correct page. Also if i need to logout, http://www.example.com/logout takes me to access denied page but if i try http://www.example.com?q=logout i am successfully logged out.
UPDATE
The issue is still not solve. I am still not sure, what could be the problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通过编写以下内容来关闭
.htaccess
文件中的目录浏览:而不是
http://drupal .org/node/134440
turn off directory browsing in your
.htaccess
file by writing:instead of
http://drupal.org/node/134440
是否在
admin/settings/clean-urls
中将“清理 URL”设置为“启用”?Is "Clean URLs" set to "Enabled" in
admin/settings/clean-urls
?