rashid Posted October 16, 2006 Share Posted October 16, 2006 Hi there,I wondered if anyone ran into a similar problem like this. I have configured 4 name-based vhosts on my MAC, but when I add another 1 it stops working. I run a apachectl configtest which says 'syntax ok' then I try to restart apache and it fails. When I remove the 5th vhost it all works again. Ive double checked typos, made sure etc/hosts is correctly configured. Basically I copied a working vhost, pasted it in my httpd.conf and just edited it to the new directory name but it just fails. Its weird. So I was wondering if there was a limit set that im not aware of that allows me only 4 vhosts and any more than that it fails.Also if anyone knows how to configure lighty(lighttpd) with vhosts please let me know, as Im toying around with Ruby on Rails and they recommend to give this a try.Thanks for reading....Peace Quote Link to comment Share on other sites More sharing options...
sonjay Posted November 1, 2006 Share Posted November 1, 2006 I have about 190 name-based virtual hosts configured on my Mac, so I'm pretty sure your problem is not a limit on number of virtual hosts.Are you using Terminal to restart apache, or checking/unchecking the web sharing option in system preferences? If Terminal, exactly what command are you issuing, and do you get any error message when apache fails to restart? Have you made any [i]other[/i] changes to httpd.conf or any other apache-related files? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.