Krist van Besien wrote:
Ad the following in your VirtualHost block:
Proxy /*
Order deny, allow
Allow from All
/Proxy
It seems that was the answer indeed, but it worked only when I used * instead
of /*.
So everything's fine now, thanks again to both of you!
Regards,
--
Florent
Would ProxyPass help?
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
Just a thought because I have a main webserver also running on p80 and a
hyperlink to /myapp which takes the user silently to a whole different
web server on a different port.
Good luck!
-Original
Richard Peacock wrote:
Just a thought because I have a main webserver also running
on p80 and a hyperlink to /myapp which takes the user silently
to a whole different web server on a different port.
Good luck!
Thanks! I am going to have a look, I didn't know it before.
Just a detail
Richard Peacock wrote:
The lines you put in you conf file would be something like:
ProxyRequests Off
ProxyPass /app1/ http://the.target.server:port/
It seems I misunderstood something... I created a new site
file for the new domain name, say www.new.com, and used a2ensite
successfully.
[mailto:li...@fgeorges.org]
Sent: 25 March 2009 13:56
To: Richard Peacock
Cc: users@httpd.apache.org
Subject: Re: [us...@httpd] Redirect a whole site from port 80 to a
servlet container
Richard Peacock wrote:
The lines you put in you conf file would be something like:
ProxyRequests Off
ProxyPass
Richard Peacock wrote:
If I recall from memory the error you got means there is no
default document and you don't have permission to give a
directory listing.
:-) Yes, if I get directly http://original.com:1234/container/app/ I get the
page. In addition, even the original website does
from all
In your VirtualHost declaration?
-Original Message-
From: Florent Georges [mailto:li...@fgeorges.org]
Sent: 25 March 2009 14:35
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Redirect a whole site from port 80 to a
servlet container
Richard Peacock wrote:
If I recall
Richard Peacock wrote:
I did not use NameVirtualHost or anything, just those two
lines. Perhaps you need to include the two lines:
Order allow,deny
Allow from all
Unfortunately that does not change anything. But I wonder, how do you make
the difference between both
On Wed, Mar 25, 2009 at 3:34 PM, Florent Georges li...@fgeorges.org wrote:
Richard Peacock wrote:
If I recall from memory the error you got means there is no
default document and you don't have permission to give a
directory listing.
:-) Yes, if I get directly
March 2009 15:38
To: users@httpd.apache.org; Krist van Besien
Subject: Re: [us...@httpd] Redirect a whole site from port 80 to a
servlet container
Krist van Besien wrote:
Indeed, I use Ubuntu.
So you need to enable it explicitely for your virtualhost.
Ad the following in your VirtualHost
Richard Peacock wrote:
Suppose the local server has address http://example.com/; then
ProxyPass /mirror/foo/ http://backend.example.com/
will cause a local request for
http://example.com/mirror/foo/bar to be
internally converted into a proxy request to
http://backend.example.com/bar.
/directives etc would vary from
one distro to another unless you're running it on Windows.
Rich
-Original Message-
From: Florent Georges [mailto:li...@fgeorges.org]
Sent: 25 March 2009 15:44
To: users@httpd.apache.org; Richard Peacock
Subject: Re: [us...@httpd] Redirect a whole site from port 80
12 matches
Mail list logo