Return to Snippet

Revision: 42544
at March 6, 2011 23:33 by neoandroid


Updated Code
# This rule will send the requests that client made as being from our server to the
# server_name specified.
# Combined with a named apache virtualhost this can be used to expose multiple webservers
# behind the same IP public address. The server were we put this config will act as a
# gateway and the public IP address must point to him.

RewriteRule ^(.*)$ http://server_name/$1 [P,L]
RewriteRule ^$ http://server_name/ [P,L]

Revision: 42543
at March 6, 2011 23:32 by neoandroid


Updated Code
# This rule will send the requests that client made as being from our server to the
# server_name specified.
# Combined with a named apache virtualhost this can be used to expose multiple webservers
# behind the same IP public address. The server were we put this config will act as a
# gateway and the public IP address will point to him.

RewriteRule ^(.*)$ http://server_name/$1 [P,L]
RewriteRule ^$ http://server_name/ [P,L]

Revision: 42542
at March 6, 2011 23:30 by neoandroid


Updated Code
# This rule will send the requests that client made as being from our server to the
# server_name specified.
# Combined with a named apache virtualhost this can be used to expose multiple webservers
# behind the same IP public address and. The server were we put this config will act as a
# gateway and the public IP address will point to him.

RewriteRule ^(.*)$ http://server_name/$1 [P,L]
RewriteRule ^$ http://server_name/ [P,L]

Revision: 42541
at March 6, 2011 23:29 by neoandroid


Initial Code
# This rule will send the requests that client made as being from our server to the server_url
# specified.
# Combined with a named apache virtualhost this can be used to expose multiple webservers
# behind the same IP public address and. The server were we put this config will act as a
# gateway and the public IP address will point to him.

RewriteRule ^(.*)$ http://server_name/$1 [P,L]
RewriteRule ^$ http://server_name/ [P,L]

Initial URL

                                

Initial Description

                                

Initial Title
Reverse proxy via htaccess

Initial Tags
htaccess

Initial Language
Apache