Hi all, I have problem setting up more than one virtual host in my suse box, it get redirected to only localhost (which ever i put first in file) and not any other folders, my proxy also not working below is my virtual host file <VirtualHost *:80> ServerName www.kipl-intranet.com DocumentRoot "/srv/www/htdocs" ServerAlias kipl-intranet.com <Directory "/srv/www/htdocs"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> ServerAdmin sudesh_poojari@localhost.com </VirtualHost> <VirtualHost *:80> ServerName project.kipl-intranet.com DocumentRoot /srv/www/redmine ServerAdmin webmaster@kipl-intranet.com ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ ProxyPreserveHost On </VirtualHost> <VirtualHost *:80> ServerName www.bidjeeto.com DocumentRoot /srv/www/htdocs/bidjeeto ServerAdmin webmaster@bidjeeto.com <Directory /srv/www/htdocs/bidjeeto> AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost *> DocumentRoot /srv/www/htdocs ServerName localhost ServerAdmin webmaster@localhost.com <Directory /srv/www/htdocs> AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost>
I solved it, just forgot to add NameVirtualHost *:80 also somebody tell me how to edit my post title so tht i can post solved and also replace urls with false one