This forum is no longer active. Please post your questions to our new community site

Forums LAMPStack

Virtual-host Problem

Subscribe to Virtual-host Problem 5 post(s), 2 voice(s)

 
Avatar sandy_k43@ya... 8 post(s)

I am using tomcat6 + lampstack’s apache2 with jk_mod On Centos5.4.; Now i have configured some virtual host in http-vhost.conf file and uncommented this line in httpd.conf file “Include conf/extra/httpd-vhosts.conf”; Restarted apache but my vhosts are not working; besides that my some sites stopped functioning.
Where am i wrong?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Is there any error in the apache2/logs/error_log file?

 
Avatar sandy_k43@ya... 8 post(s)

No errors
Apache lists the .jsp files But when i click on any .jsp file it doesn’t opens. It means apache shows the directory listing but couldn’t serve or handle .jsp files. I think either is overridding.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

In this case it seems that the configuration is wrong. The Apache server is trying to open the .jsp files instead of the Tomcat server.

 
Avatar sandy_k43@ya... 8 post(s)

Should i send you my config files ?

Forums LAMPStack