使用 Webmin 创建虚拟主机

发布于 2024-12-25 10:03:21 字数 185 浏览 3 评论 0原文

我一直在摆弄 webmin 和创建虚拟主机,现在通常我会直接进入盒子并手动创建它们,但办公室的其他开发人员不太有信心这样做。

创建虚拟主机很好,但是当它保存到“sites-available”时,它会在文件名末尾添加 .conf ,除了稍微让我烦恼之外,这不会造成任何问题。有没有办法设置 webmin 不添加这个?

多谢!

I have been messing around with webmin and creating vhosts, now normally I would just shh into the box and create them manually but the other developers in the office are not too confident doing that.

Creating the Vhost is fine but when its saves to 'sites-available' it adds .conf at the end of the file name, this is not causing any problems other than slightly annoying me. Is there anyway to set webmin to not add this?

Thanks a lot!

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

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

发布评论

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

评论(1

热血少△年 2025-01-01 10:03:21

在: Webmin > Apache 网络服务器 >模块配置

选项: “虚拟服务器的文件名模式” 设置为 “默认 ($DOM.conf)”

只需将其更改为您喜欢的即可:)

In: Webmin > Apache Webserver > Module Config

Option: "Filename pattern for virtual servers" set to "Default ($DOM.conf)"

just change it to your liking :)

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