Apache生成长网址 [英] Apache generating long url

查看:95
本文介绍了Apache生成长网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在ubuntu上使用apache web服务器托管了一个Web应用程序。



不知怎的,它生成了长网址。



访问http:// localhost / index /给出了一堆链接[link1,link2,link3]

点击链接1转到http:// localhost / index / link1再次生成相同的页面,再次链接1

再次点击该链接会生成一个链接 - > http:// localhost / index / link1 / link1



这种情况​​一直在继续..如果我需要在apache上禁用任何模块,有人可以帮助我吗?

Hi,

I hosted a web app on ubuntu with apache web server.

Somehow it generated long url.

visiting in http://localhost/index/ gives bunch of links [link1, link2, link3]
clicking on link 1 goes to http://localhost/index/link1 which generates the same page again which has again link1
again clicking on that link generates a link -> http://localhost/index/link1/link1

This goes on and on.. Can someone please help me out if I need to disable any module on apache?

推荐答案

好的..我找到了解决方案。这是网站可用的文件。需要评论

FollowSymLinks MultiViews
Ok.. I found the solution. It was with sites-available file. Needed to comment
FollowSymLinks MultiViews


这篇关于Apache生成长网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆