Virtual domains using both xampp and tomcat

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Virtual domains using both xampp and tomcat

Postby TeamScience » 28. April 2010 14:30

Hi

I've been going in circles on this for two days now. I've been using XAMPP on my Windows desktop for local (XHTML/PHP/MySQL) development for a number of years now and know my way around it. I've just been asked to have a look at a JSP based site and tidy things up a bit.

I have a working copy of XAMPP 1.7.2 and have downloaded the Tomcat add-on and installed it. My normal working methodology is to run virtual domains and edit my hosts file. Sample virtual domain on local machine in httpd-vhosts.conf is:

NameVirtualHost local.domain.com:80

<VirtualHost local.domain.com:80>
ServerAdmin admin@local.domain.com
DocumentRoot C:\Development\xampp\htdocs\vhosts\ts\domain.com
ServerName local.domain.com
<Directory C:\Development\xampp\htdocs\vhosts\ts\domain.com>
Options Indexes FollowSymLinks
AllowOverride FileInfo
</Directory>
</VirtualHost>


then domain2.com and domain3.com as needed.

My hosts file will have 127.0.0.1 local.domain.com etc.

Now, how do I set up a virtual domain for the .jsp based site? I've googled and tried a number of things but can't get this to work.

Any help on this will be greatly appreciated.

Brenton
TeamScience
 
Posts: 1
Joined: 28. April 2010 11:57

Return to XAMPP for Windows

Who is online

Users browsing this forum: dontasior and 67 guests