[thelist] Serving from another server

david.landy at somerfield.co.uk david.landy at somerfield.co.uk
Thu Apr 22 04:23:42 CDT 2004


<script language=asp>

if Request.ServerVariables("URL") = "http://server1/wiki/index.php/HomePage"
then
    Server.Redirect("http://server2/wiki/HomePage")
end if

</script>

-- 
David Landy, IT Consultant, Business Intelligence
Somerfield/KwikSave Support Centre
Whitchurch, Bristol, UK. Tel: 0117 301 8977
david.landy at somerfield.co.uk <mailto:david.landy at somerfield.co.uk>    
 
"...Our deepest fear is not that we are inadequate. Our deepest fear is
that we are powerful beyond measure." - From A RETURN TO LOVE by
Marianne Williamson © 1992	


-----Original Message-----
From: Jeroen Coumans [mailto:jeroen at jeroencoumans.nl]
Sent: Thursday, 22 April 2004 08:09
To: thelist at lists.evolt.org
Subject: [thelist] Serving from another server


Hi,

I have an Apache server on which I've configured a PhpWiki, which I now 
want to make available through another server. The other server is 
IIS/ASP based. I want the following model:

1. server A (LAMP): http://server1/wiki/
2. server B (IIS): http://server2/wiki/

server B gets requests and asks server A for the page. server A has 
URL's like:
http://server1/wiki/index.php/HomePage
which I want to map to:
http://server2/wiki/HomePage

Can I achieve this functionality through the use of an ASP script? Thanks,


-- 
Groeten/Greetings,
Jeroen Coumans
www.jeroencoumans.nl
-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 
 
If you are not the intended recipient of this e-mail, please preserve the
confidentiality of it and advise the sender immediately of any error in
transmission. Any disclosure, copying, distribution or action taken, or
omitted to be taken, by an unauthorised recipient in reliance upon the
contents of this e-mail is prohibited. Somerfield cannot accept liability
for any damage which you may sustain as a result of software viruses so
please carry out your own virus checks before opening an attachment. In
replying to this e-mail you are granting the right for that reply to be
forwarded to any other individual within the business and also to be read by
others. Any views expressed by an individual within this message do not
necessarily reflect the views of Somerfield.  Somerfield reserves the right
to intercept, monitor and record communications for lawful business
purposes.


More information about the thelist mailing list