Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Linux, Apache, MySQL > Apache Help

Apache Help Post any question relating to Apache here and hopefully someone can help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-09-04, 12:09 PM
Junior Member
 
Join Date: Sep 2007
Posts: 1
mattachu is on a distinguished road
Arrow using two servers for one domain

hi all!

i have two servers, one running apache 2 on ubuntu and one running apache 1 on mac os x.

both servers are behind a router/firewall that redirects all requests on port 80 to the ubuntu server. i only have one ip address, that's the router/firewall. my www.domain.com points to my ip address. so everything sent to http://www.domain.com on port 80 goes to the ubuntu box.

up until now that's been fine, as my web site is held on the ubuntu server. however, i now want to host some files on my mac on the web.

i've set up the mac so that http://mac/siteA gives me the files i want. now what i want to do is to get http://www.domain.com/siteA to show the files from my mac, rather than looking for siteA on the ubuntu web server.

is it possible to set up a virtual directory or similar on the ubuntu box so that requests for siteA will be automatically forwarded on to the mac? i'd prefer to keep the same domain if at all possible.

thanks for your help!
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:23 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.