Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 6th, 2001, 02:44 AM
worldtouch worldtouch is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milian, Italy
Posts: 357 worldtouch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
how to re-direct people from one server to another server..

in httpd.conf.

when somebody type www. france.com , it will redirect to www.france.com:9090



jenny.

Reply With Quote
  #2  
Old June 6th, 2001, 03:29 AM
worldtouch worldtouch is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milian, Italy
Posts: 357 worldtouch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Hi,

my setting is wrong???


<VirtualHost 192.168.1.88>
ServerAdmin admin@www.france.com

Redirect /index.php http://village.france.com:9090
DocumentRoot /var/apache/htdocs/www/village
ServerName village.france.com
ServerPath /village
Errorlog logs/village.log

</VirtualHost>

it does not re-direct at all when I tried

village.france.com


it supposes go to

village.france.com:9090



why not??


jenny.

Reply With Quote
  #3  
Old June 6th, 2001, 05:46 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I hope you aware you can't redirect a file to itself.

>> my setting is wrong???

You need at least <VirtualHost 192.168.1.88:9090> and Listen directive -> http://httpd.apache.org/docs/mod/core.html#listen or BindAddress -> http://httpd.apache.org/docs/bind.html#bindaddress

Start here -> http://httpd.apache.org/docs/bind.html

Reply With Quote
  #4  
Old June 6th, 2001, 06:22 AM
worldtouch worldtouch is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milian, Italy
Posts: 357 worldtouch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
wait a minute...for redirect

I have another server rh 7.0 which listen to port 9090.

I need to do when someone punch:

village.france.com redirect to village.france.com:9090 since it forward to the next server by the router.

the redhat 7.0 is working ok with php and mysql.

my solaris 8 is listen to port 80 and I have not installed php and mysql. I do not know which to install first ( php / mysql). the solaris 8 has apache 1.39 and virtual hosts.

I have tried to write an email to devshed.com to help about which to install first.

=======



This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

yzhang@sfu.ca
========


any good helping hand is deeply appreciated. see my weakness.

jenny.

Reply With Quote
  #5  
Old June 6th, 2001, 06:20 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Your ServerName must be unique. You can't use village.france.com on both boxes. Apache on Solaris identified itself as village.france.com. Redirecting from port 80 to whatever port doesn't matter, it's still being interpreted or being told to redirect locally.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > how to re-direct people from one server to another server..


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway