Monkey and virtual servers
Posted: Sat 09 Jul 2005, 23:35
For some reason I can't seem to get the Monkey WS to run with virtual servers right now. This is driving me crazy since I had tested it out earlier and had no problems doing it. Here are the lines from my config file where I setup the virtual hosts.
<Virtualhost>
VirtualServerName www.texasangel.org
VirtualDocumentRoot /root/monkey/public_html/texasangelorg
VirtualScriptalias /cgi-bin/ /root/monkey/public_html/cgi-bin
VirtualForceGetDir off
</Vitualhost>
<Virtualhost>
VirtualServerName www.texasangel.biz
VirtualDocumentRoot /root/monkey/public_html/texasangelbiz
VirtualScriptAlias /cgi-bin/ /root/monkey/public_html/cgi-bin
VirtualForceGetDir off
</Virtualhost>
Which is just like the example in the config file. It keeps returning connection refused. Both domains are valid and point to my IP, and both work if I just set it up to serve from the public_html directory without virtual servers. Furthermore, it worked last week when I tried it. I'm stumped here. Anyone have any ideas? Support for Monkey seems to be nonexistent and they don't return my queries.
Incidentally, I looked closer at the config file and figured out how to start Monkey as root, then transfer the proccess to user_nobody. This is closer to how a normal Apache config starts and runs, and a whole lot more secure than running it as root all of the time. Plus, I can now run as a non-priviledged user and still use port 80. I must have been blind before not to see it before. Anyway, I updated my previous post giving a primer on how to get Monkey running with the new info.
Thanks in advance
Nathan
<Virtualhost>
VirtualServerName www.texasangel.org
VirtualDocumentRoot /root/monkey/public_html/texasangelorg
VirtualScriptalias /cgi-bin/ /root/monkey/public_html/cgi-bin
VirtualForceGetDir off
</Vitualhost>
<Virtualhost>
VirtualServerName www.texasangel.biz
VirtualDocumentRoot /root/monkey/public_html/texasangelbiz
VirtualScriptAlias /cgi-bin/ /root/monkey/public_html/cgi-bin
VirtualForceGetDir off
</Virtualhost>
Which is just like the example in the config file. It keeps returning connection refused. Both domains are valid and point to my IP, and both work if I just set it up to serve from the public_html directory without virtual servers. Furthermore, it worked last week when I tried it. I'm stumped here. Anyone have any ideas? Support for Monkey seems to be nonexistent and they don't return my queries.
Incidentally, I looked closer at the config file and figured out how to start Monkey as root, then transfer the proccess to user_nobody. This is closer to how a normal Apache config starts and runs, and a whole lot more secure than running it as root all of the time. Plus, I can now run as a non-priviledged user and still use port 80. I must have been blind before not to see it before. Anyway, I updated my previous post giving a primer on how to get Monkey running with the new info.
Thanks in advance
Nathan