This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Apache virtual Host Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache virtual Host Problem" Watch "Apache virtual Host Problem" New topic
Author

Apache virtual Host Problem

Nishant bhatt
Greenhorn

Joined: May 21, 2004
Posts: 9
We have 3 server(Web1,Web2&Web3).We are redirecting the some services of Web3 on Web1.Since the Web1 is also having these service we want it should point to Web1 server rather than web3 server.When i try to copy the Virtual host directive section of Web3 to Web1 httpd.conf file.There are some setting like these

DocumentRoot "/usr/local/apache/htdocs/guidelines"
# SM 22/02/2002 - Common access control
AuthType Basic
AuthName "RAC design - restricted access"
AuthUserFile /usr/local/rac/conf/.htpasswd
AuthGroupFile /usr/local/rac/conf/.htgroups
AllowOverride AuthConfig

Here guidelines is the name of our service which is running on Web3 server.And in .htpasswd&.htgroups file there are some names .

Do i need to just copy the setting of Web3 conf file, .htpasswd and .htgroups file, to Web1 in order to redirect the guideline service point to Web1???

Or i had to create another folder for this guideline service in Web1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache virtual Host Problem
 
Similar Threads
libphp5.so is garbled-apache server not able to start
What is Tomcat virtual host, What is different from the Apache Tomcat?
apache (tomcat) not parsing XML file?
copy difference file from one server to another
mod_jk2 woes