httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marian Marinov <hack...@hydra.azilian.net>
Subject Re: [users@httpd] Redirection URL Internal Machine
Date Sat, 19 Feb 2005 19:54:05 GMT
Carlos Arturo Trujillo Silva wrote:

>ok, I don't want to have to use an other port.
>
>I'm redirecting with firewall through 8083 port, and work ok.
>
>
>On Sat, 19 Feb 2005 04:28:13 +0200, Marian Marinov
><hackman@hydra.azilian.net> wrote:
>  
>
>>Carlos Arturo Trujillo Silva wrote:
>>
>>    
>>
>>>I have a main web server and other into the my LAN, I want to access
>>>to my local machine into my LAN, across the conection of my main web
>>>server,  how do I do that?
>>>
>>>
>>>On Fri, 18 Feb 2005 16:05:27 -0600, Nelson, Robert D.
>>><RDNelson@mail.donaldson.com> wrote:
>>>
>>>
>>>      
>>>
>>>>>Hi. I want to redirect a directory on my web server to a web server
>>>>>into my intranet.
>>>>>
>>>>>How do I do that?
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>I'm not exactly sure what you're trying to do, but you may want to look at
>>>>ProxyPass:
>>>>
>>>>http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypass
>>>>
>>>>~ Robert
>>>>
>>>>---------------------------------------------------------------------
>>>>The official User-To-User support forum of the Apache HTTP Server Project.
>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>
>>>      
>>>
>>This is not simple at all...
>>There are 2 scenarious:
>>    1. EASY: Your server in the local LAN have REAL IP Address and you
>>can simply use:
>>          Redirect /directory http://IP-OF-LOCAL-SERVER/
>>    2. HARD: Your server in the local LAN don't have REAL IP Address.
>>          First you must have ROOT access to your web server which have
>>STATIC REAL IP!
>>          Second you must setup DNAT rule(using iptables
>>http://iptables.org)  to redirect all incoming traffic from internet to
>>some port of your server(for example 81) to your local server.
>>          Then you can simply use:
>>                Redirect /directory http://yourhostname:81/
>>
>>Regards
>>    M.Marinov
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>    
>>
>
>
>  
>
You simply CAN'T redirect incoming traffic to local IP!
The only way is to use another port!


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message