On Tue, Dec 03, 2002 at 08:31:50PM +0530, Shyam wrote: > <VirtualHost 127.0.0.1> > ServerName themmadi.com > ServerAlias *.themmadi.com > ServerAdmin shyam@localhost > DocumentRoot /home/www/themmadi > ErrorLog /home/www/themmadilog > ScriptAlias "/cgi-bin/" /home/www/themmadi/cgi-bin > </VirtualHost> > <VirtualHost 127.0.0.0> > ServerName parimalam.com > ServerAlias *.parimalam.com > ServerAdmin shyam@localhost > ErrorLog /home/www/parimalamlog > ScriptAlias "/cgi-bin/" /home/www/parimalam/cgi-bin > </VirtualHost> > > 2) /sbin/hhtpd -S > > Syntax OK > > 3) /etc/init.d/httpd restart > > Reloading apache modules. > /usr/sbin/apachectl start: httpd could not be started > > > What could I have missed ?
Please post the relevant part of your error.log. It seems to me you ignored this comment from httpd.conf: # # ServerName allows you to set a host name which is sent back to clients for # your server if it's different than the one the program would get (i.e., use # "www" instead of the host's real name). # # Note: You cannot just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address (e.g., http://123.45.67.89/) # anyway, and this will make redirections work in a sensible way. # Thus, do the names themmadi.com and parimalam.com resolve from your computer, minus the NIC? You have to run a DNS server for this to work. Or add these names to your /etc/hosts. Also, please verify from apache docs that ServerAlias can contain wild cards. The copy I have is a bit hazy on the point. Binand PS: To the uninitiated to Malayalam: themmadi is a scoundrel. Parimalam of course, derives from Sanskrit. :) -- If you found this helpful, please take some time off to rate it: http://svcs.affero.net/rm.php?r=binand ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
