apache - 如何为运行 WHM 的服务器设置默认的 Apache 登录页面?
问题描述
我有一个为 cPanel 帐户安装了 WHM 的服务器。这带有它自己的 Apache 配置。
如果我点击此服务器的域(没有 userdir temp url)或 IP,我将获得默认的 Apache 登录页面(cgi-sys/defaultwebpage.cgi)。
我想在服务器上指定一个文件夹,作为这个登陆页面/网站。您如何修改 WHM 或 Apache 设置来完成此操作(在此过程中不会搞砸 WHM/cPanel)?
解决方案
Since you have mentioned WHM, an easier way to do would be to use the web editor feature provided by WHM itself to custom make the default page instead of the one shipped by cPanel.
Web template editor in WHM can be found in account section.
If needed, this tutorial might help you : https://www.basezap.com/change-cpanel-default-pages/
推荐阅读
- python - 给出正确的标准偏差 ..numpy.std() 或 statistics.stdev()
- reactjs - 无法在 React-Redux 中呈现简单的 JSON 内容
- asp.net-core - 用 IIS 重定向映射替换特定的查询字符串值
- php - Google Calendar API - API 密钥无故不再有效 (400)
- c++ - 用正则表达式在字符串中查找字符串,regex_search
- ios - iCloud 是否需要在生产环境中才能在生产环境中使用?
- express - 我需要帮助将无服务器 Nestjs 应用程序转换为常规 Express 应用程序
- python - 将 Powershell 数据清理代码转换为 Python 代码
- vba - 是否有将 32 位浮点数转换为小端十六进制的 VB 函数
- javascript - 使用 :key 在组件上绑定全局变量