Hello,Simple question about virtual hosting in tomcat, actually my wqs website adress is : xx.xx.xx.xx:8090/website and i wan to configure tomcat to redirect xx.xx.xx.xx:8090 (the actualy tomacat homepage, webapps folder and ROOT website) to this website without adding /website.Unfortunatly there is not httpd.conf file to edit virtuals hosts so i tried to add host in server.xml file as following :
<Host name="www.domain.com" appBase="webapps/website" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<!– SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html –>
<!–
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
–>
<!– Access log processes all example.
Documentation at: /docs/config/valve.html –>
<!–
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
–>
</Host>
then i changed default host in server.xml:<Engine name="Catalina" defaultHost="www.domain.com">
finally i made a copy of the folder C:\Alfresco\tomcat\conf\localhost and rename it "www.domain.com" and result was an error 500 after restarting tomcat.Any idee for solving this ?Thanks a lot !