先打开Apache的conf目录下的httpd.conf文件,在末尾添加如下代码:ClawUsage Windows Hardlock通过聊天(Telegram / 飞书)执行本地 `clawusage` 监控命令。当用户输入 `/clawusage ...`,或提出“查看 Codex 用量”、“开启/关闭自动…”等请求时触发使用。
下载复制代码代码如下:ServerName www.mydemo.comDocumentRoot "D:/mydemo"Options FollowSymLinks IncludesNOEXEC IndexesDirectoryIndex index.html index.htm default.htm index.phpdefault.php index.cgi default.cgi index.pl default.pl index.shtmlAllowOverride Options FileInfoOrder Deny,AllowAllow from all再到C:->Windows->System32->drivers->etc目录,打开hosts文件。
在末尾添加如下代码:
复制代码代码如下:127.0.0.1 www.mydemo.com然后再创建D:mydemo目录再然后重启一下apache服务器。
在浏览器输入www.mydemo.com看看
