Thanks guys...that took care of it! I appreciate your help on that! Have a good one.
Anthony -----Original Message----- From: Gary M. Root [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 2:13 PM To: [EMAIL PROTECTED] Subject: RE: [cobalt-security] Virtual Site Yes, I've done this before. Here's what I do: 1. SSH to box and login as root. I use CuteFTP Pro in SFTP mode in a private network, because it's easier to visually navigate the box. 2. Navigate to /etc/httpd/conf/httpd.conf and open the file so you can edit it. 3. Scroll to the bottom, you'll see the Virtual Hosts section. 4. You'll probably see your "www.test2.com" listed under ServerAlias for the IP address in question. If so, that's good. If not, add it via the GUI and see if it shows up. If not, add it manually. I like to add stuff via the GUI first, because you minimize the chances of breaking it with manual changes. 5. What you need to add is "RewriteCond %{HTTP_HOST} !^www.test2.com(:80)?$" without the quotes. 6. If you're doing SSL to the test2 site, also add "RewriteCond %{HTTP_HOST} !^www.test2.com(:443)?$". 7. Save the file. 8. SSH to the box with PUTTY, login as root and restart the web server by typing: "/etc/rc.d/init.d/httpd restart", again, no quotes. 9. Check the result by visiting http://www.test2.com and make sure it's not re-written. Good luck, Gary |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]] On Behalf Of |Anthony Guida |Sent: Monday, August 12, 2002 11:25 AM |To: '[EMAIL PROTECTED]' |Subject: [cobalt-security] Virtual Site | | |This may not be related to Cobalt Security, but I am looking for some |assistance by someone who may have dealt with the problem already... | | |Since the RaQ 4 is designed to host virtual sites, if a customer is |requesting more |than 1 domain pointed to their site/IP the RaQ replaces the |URL with the |virtual site's |primary domain. | |Example - Primary virtual site is setup on RaQ to be www.test.com. |If the customer requests that www.test2.com be pointed to www.test.com IP address then everytime any user types in www.test2.com the RaQ replaces it with www.test.com. Is there anyway to avoid this problem? Possibly disabling the virtual site features for a specific IP or something? I really do not want to have to setup 2 different virtual sites with the same IP and have the customer upload the HTML into 2 different sites... Any info is appreciated. Thanks, Anthony Anthony Guida Network Engineer WebSolutions Technology Inc. _______________________________________________ cobalt-security mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-security _______________________________________________ cobalt-security mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-security _______________________________________________ cobalt-security mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-security
