如何在Windows服务器中访问.htaccess文件?

发布于 2024-09-13 14:55:22 字数 182 浏览 1 评论 0原文

我尝试使用 Helicon Manager 实现 URL 重写功能 我的 ASP.net 应用程序在 Windows 服务器上运行。我还生成一个 .htaccess 文件并放置在根目录中,但我的应用程序很糟糕 无法访问此文件并且未执行 URL 重写。在这里我想要 了解如何访问 .htaccess 文件,通过该文件我们可以执行 URL 重写实施成功。

I am try to implement URL re-write functionality using Helicon Manager for
my ASP.net application running on windows server. I also generate a
.htaccess file and place in a root directory, but badly my application
failed to access this file and not performing the URL re-write. Here I want
to know how can i access .htaccess file through which we can perform a
successful URL re-write implementation.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

人间☆小暴躁 2024-09-20 14:55:22

您的应用程序运行在 Apache Server 还是 IIS 上? AFAIK IIS 不理解 .htaccess (这个知识可以追溯到 2005 年,我可能是错的),您可能需要使用第 3 方组件。

Is your application running on Apache Server or IIS? AFAIK IIS doesn't understand .htaccess (this knowledge dates back to 2005, I might be wrong), you might need to use a 3rd party component.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文