Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache 2.0.48 and reverse proxy

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Help Apache 2.0.48 / Tomcat 4 on Solaris 9  
Author Message
user2625

External


Since: Jan 08, 2004
Posts: 1



(Msg. 1) Posted: Thu Jan 08, 2004 4:30 am
Post subject: Apache 2.0.48 and reverse proxy
Archived from groups: alt>apache>configuration (more info?)

Hi,

I am not able to setup reverse proxies using the following script in
Apache 2.0.48 because of directive problems.
I have to set up two reverse proxies for my webserver running on two
different ports. What changes do I need to make it running on Apache
2.0.48 ?

Listen myipaddress:80
NameVirtualHost myipaddress:80
<VirtualHost myipaddress::80>
ServerName www.myserver.com
<IfModule mod_proxy.c>
Port 80
ProxyVia On
ProxyPass / http://mylocalurl1:port1/
ProxyPassReverse / http://mylocalurl1:port1/
</IfModule>
CustomLog c:\logs\Reverse_access.log combined
ErrorLog c:\logs\Reverse_error_log
</VirtualHost>

Listen myipaddress:81
NameVirtualHost myipaddress:81
<VirtualHost myipaddress::81>
ServerName www.myserver.com
<IfModule mod_proxy.c>
Port 81
ProxyVia On
ProxyPass / http://mylocalurl2:port2/
ProxyPassReverse / http://mylocalurl2:port2/
</IfModule>
CustomLog c:\logs\Reverse_access.log combined
ErrorLog c:\logs\Reverse_error_log
</VirtualHost>

thanks in advance
monty

 >> Stay informed about: Apache 2.0.48 and reverse proxy 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Thu Jan 08, 2004 4:30 am
Post subject: Re: Apache 2.0.48 and reverse proxy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sumit Gupta <sumit.x.gupta.RemoveThis@oracle.com> wrote:
 > <VirtualHost myipaddress::80>
^^
only one ':' in the directive.

 > Port 80

This is not necessary since the VHost is already listening on port
80 alone.

The same goes for the second VHost.

Davide

--
| My Win98 installation has been doing that for months.. German,
| English, and Dutch, all intermingled. What's so frightening about
| that? -- Jasper Janssen You mean seeing "Reboot Macht Frei" on your
| screen? -- Greg Andrews -- from alt.sysadmin.recovery<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache 2.0.48 and reverse proxy 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache reverse proxy and URL Encode - I hope this is an easy question for someone (and Thank You in advance): I'm running apache 2.0.43 in reverse proxy mode on UNIX (to WebBoard - a web based collaboration product). Only one problem so far: downloading files through the browser works from...

Reverse Proxy mit Apache oder Squid? Direktiven - Hi I have only a little bit experience with Apache 2.0.40 and Squid 2,5, but I try to set up a reverse proxy for accessing our intranet resources from the internet. Users from outside connect to our ReverseProxy via HTTPS, are authenticated on the..

ftp proxy reverse - Hello! Some one can help me about Ftp proxy reverse on Apache 2? Thank you

reverse proxy + https - Can you help please? Is it possible to configure Apache to act as a reverse proxy (maybe the name is not appropriate) for https traffic? I've been able to set up Apache as reverse proxy (mod_proxy, mod_rewrite) and SSL server (with apache_ssl or mod_ssl...

reverse proxy configuration - Hello, I'm using Stronghold 4.0 (Apache 1.3.22) as a reverse ssl proxy with the following configuration: <VirtualHost _default_:443> # General setup for the virtual host #DocumentRoot "/usr/local/stronghold/www/htdocs" #ServerName ww...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]