Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Feb 17, 2010 2:05 pm 
Offline

Joined: Wed Feb 17, 2010 1:51 pm
Posts: 1
Website: http://www.ClassNotFound.com
Hi Guys,

I have setup a small linode for my site http://www.classnotfound.com/. The request will redirect from Apache to Tomcat with the following configuration changes in Apache:

<VirtualHost *:*>
ProxyPreserveHost On
ProxyPass /jar/ http://www.classnotfound.com/
ProxyPass / http://localhost:8080/jar/
ProxyPassReverse / http://www.classnotfound.com:8080/jar/
ServerName classnotfound.com
</VirtualHost>

When I tried to setup a new domain and redirect to some other context, I am stuck and the same content is being served.

For eg: if my new domain is XYZ.com
<VirtualHost *:*>
ProxyPreserveHost On
ProxyPass /xyz/ http://www.XYZ.com/
ProxyPass / http://localhost:8080/xyz/
ProxyPassReverse / http://www.XYZ.com:8080/xyz/
ServerName XYZ.com
</VirtualHost>

Am I doing anything wrong here?

Please suggest


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group