Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带 DirectAdmin 的 VPS。创建新用户时,已经创建了一些文件夹/文件。我在哪里可以更改标准创建的文件/文件夹?例如:当我创建用户时,我总是希望 public_html 文件夹中有一个 robots.txt。如何使这成为可能?
您可以按照以下步骤操作:
您可以在此处添加或删除“默认”目录中的文件。例如,您可以在“默认”目录中创建一个 robots.txt 文件。结果,当你添加一个新网站时,你总是会在 public_html 中得到 robots.txt 文件