Mac 10.5 上的 lighttpd - 找不到 lighttpd.conf
我刚刚在 Mac OS X 10.5 上干净地构建并重新安装了 lighttpd 1.4.20,但找不到配置文件。
我的目标是将 lighty 安装到单个目录,而不是分散安装,因此我成功地使用了以下命令:
./configure --prefix="/usr/local/lighttpd"
sudo make clean
sudo make
这成功地将二进制文件和库放入 /usr/local/lighttpd/ 中,就像我想要的那样。 但是,如安装文档中所示,配置文件未安装在 /usr/local/lighttpd/doc/lightppd.conf 中。
知道它会在哪里吗? 或者我错过了 ./configure 上的选项?
I just did a clean build and reinstall of lighttpd 1.4.20 on Mac OS X 10.5 and I can't find the configuration file.
My goal was to install lighty to a single directory instead of being spread around, so I used the following commands successfully:
./configure --prefix="/usr/local/lighttpd"
sudo make clean
sudo make
This successfully put the binaries and libs in /usr/local/lighttpd/ like I wanted. However, the configuration file was not installed at /usr/local/lighttpd/doc/lightppd.conf as indicated in the INSTALL doc.
Any idea where it would be? Or did I miss an option on ./configure ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Stobor 的解决方案应该可以帮助您(只需将 $SOURCEDIR/doc/lighttpd.conf 复制到 /usr/local/etc/ 或任何您想要的位置,然后在启动 lighttpd 时在命令行上指定该文件所在的位置。)
如果您经常安装这种东西,也许你想看看MacPorts。 我注意到他们有 lighttpd,1.4.26 和 1.5.0 (devel)。 我非常高兴使用 MacPorts 在装有 Mac OS X 10.5 的 Powerbook G4 上安装 UNIXy 的东西。
Stobor's solution should help you (just copy $SOURCEDIR/doc/lighttpd.conf to /usr/local/etc/ or wherever you want it, and then specify on the command-line where the file is whenever you launch lighttpd.)
If you install this kind of thing often, perhaps you want to take a look at MacPorts. I note that they have lighttpd, both 1.4.26 and 1.5.0 (devel). I have been very happy using MacPorts to install UNIXy stuff on my Powerbook G4 with Mac OS X 10.5.
按照我的理解,INSTALL 文件 似乎是说你必须手动创建 lighttpd.conf 文件,方法是从 $SOURCEDIR/doc/lighttpd.conf 复制文件,而不是 $INSTALLDIR/doc/lighttpd.conf - 你看过那里吗?
The way I read it, the INSTALL file seems to say that you have to manually create the lighttpd.conf file, by copying the one from $SOURCEDIR/doc/lighttpd.conf, not $INSTALLDIR/doc/lighttpd.conf - Have you looked there?