Hi all i have a Tomcat 6.0.10 running on Centos 4.4 My configuration file(server.xml) is as below. Now i am explaning whats happening..I have changed the default webapplication by setting context path to zero length string and set my host applicationbase to "webapps/mydomainapp" value... By the way myapplication works well. (Until here everything is just an information)
The problem is, when i type www.mydomain.com i am loging in with my account..And then typing address mydomain.com (without www) it asks me to log in again...It does not recognize the session of the www.mydomain.com... So i have different sessions for every Alias i defined Is there anyway to correct this? thanks for any help Burak YILMAZ unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>mydomain.com</Alias> <Context path="" docBase="." debug="5" reloadable="true" crossContext="true"> <Resource name="jdbc/myprojectdb" auth="Container" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="100" maxIdle="30" maxWait="1000" username="root" password="xxx" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/myprojectdb"/> <parameter> <name>connectionProperties</name> <value>autoReconnect=true</value> <value>useUnicode=true</value> <value>characterEncoding=utf8</value> </parameter> </Context> </Host> ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265