Hi all,
Currently i am working for a customer where they have a website for the intranet.
Now i need to make a map called intranet/map2 but the problem is the map2 folder needs to redirect to another server.
How can this be done? I thought with an virtualhost redirect but i cant get it working.
I have read this http://httpd.apache....ocs/2.2/vhosts/ and i have search alot on google, i am working on this from 8:30 AM and it is now 13:00 PM.
A better explanation:
Server 1: running the intranet website
Server 2: running the map2 folder.
The Problem Intranet/map2 needs to get the website from server 2 but the URL may not change.
Is somebody here, who can help me?
Kind regards,
Dion
Apache2 Virtualhost HELP
Started by
Magnetronkip
, Aug 23 2010 05:59 AM
1 reply to this topic
#1
Posted 23 August 2010 - 05:59 AM
#2
Posted 23 August 2010 - 08:33 AM
Problem solved. by using this
<VirtualHost *:80>
Servername intranet/map
ServerAdmin [email protected]
ProxyPass /Map2/ http://ip/Map2
ProxyPassReverse /Map2/ http://ip/Map2
</VirtualHost>
<VirtualHost *:80>
Servername intranet/map
ServerAdmin [email protected]
ProxyPass /Map2/ http://ip/Map2
ProxyPassReverse /Map2/ http://ip/Map2
</VirtualHost>
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users