Mapping another server

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Sep 15, 2002 1:39 pm    Post subject: Mapping another server Reply with quote

Hi All,

I have an Abyss 1.03 server running on port 80 with my cable router port forwarding to this. I am also running DNS2Go so I get a decent external name.

I am setting up another (non-abyss) web server on another machine on my LAN.

Question is - can I set up Abyss to map the other web server into my address space such as:

http://www.existingserver.d2g.com/

http://www.existingserver.d2g.com/otherserver-on-lan/

Regards,

Mark.
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Sep 16, 2002 8:57 pm    Post subject: Re: Mapping another server Reply with quote

Anonymous wrote:
Hi All,

I have an Abyss 1.03 server running on port 80 with my cable router port forwarding to this. I am also running DNS2Go so I get a decent external name.

I am setting up another (non-abyss) web server on another machine on my LAN.

Question is - can I set up Abyss to map the other web server into my address space such as:

http://www.existingserver.d2g.com/

http://www.existingserver.d2g.com/otherserver-on-lan/

Regards,

Mark.

It is possible up to some extent...
If you want only http://www.existingserver.d2g.com/otherserver-on-lan/ to be redirected, it is possible.
But if you want http://www.existingserver.d2g.com/otherserver-on-lan/SOMETHING to be redirected transparently to http://otherserver/SOMETHING, you will have to wait for version 1.2.
Back to the first case if it interests you: you create the directory, and put in it a CGI script, for example if you use PHP, create index.php and put in it the following code:
Code:

<?php
header("Location: http://otherserver/");
?>

That's it. :D
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Guest






PostPosted: Mon Sep 16, 2002 10:43 pm    Post subject: Reply with quote

thx!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group