on prod environment I have few web applications hosted on diferent virtual hosts. It worked in few versions of Tomcat (7) but when i did upgrade to version 8 i just caot use this config: <Host name="subdomain.domain.com" appBase="webapps/sites123"> <Context path="" cookies="false" docBase="."/> I this case when i put domain name in browser i get 404, if i will use hostname+app name it works. Then i changed docBase to application path on server (D:..sites123) and it worked. But in this case i caot use subdomain.subdomain.domain.com virtual host pointed to the same application. (alias should be used instead). And it's also a problem when i want domain.com/client; domain.com/client2 to be used poited to same application (even if it's one application it crashes because of slash in virtual host name).
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="subdomain.domain.com_access_log." suffix=".txt" patte="%h %l %u %t "%r" %s %b" /> </Host>
Do you have any idea what i can do with that? Thnak you in advance! Best regards DB
