Krist van Besien wrote:
> Ad the following in your VirtualHost block:
>
> Order deny, allow
> Allow from All
>
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 Georges
htt
Richard Peacock wrote:
> Have you tried to just have the two lines without the
> VirtualHost stuff?
> ProxyRequests Off
> ProxyPass / http://localhost:1234/container/ctxt/
Well, I didn't try, but that would redirect all my original website then,
wouldn't it? That's not reall
functions/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 si
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
t: 25 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
Krist van Besien wrote:
Indeed, I use Ubuntu.
> So you need to enable it explicitely for your virtualhost.
> Ad the following in your VirtualHost block:
>
> Order deny, allow
> Allow from All
>
Thanks! I thus now have the following in my site file:
NameVirtualHost www.new.com:80
[us...@httpd] Redirect a whole site from port 80 to a
servlet container
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
On Wed, Mar 25, 2009 at 3:34 PM, Florent Georges 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 http://original.com:1234/container/
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 websi
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 rec
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
orges [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:
> ProxyR
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.
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 deta
-
From: Florent Georges [mailto:li...@fgeorges.org]
Sent: 25 March 2009 12:42
To: users@httpd.apache.org
Subject: [us...@httpd] Redirect a whole site from port 80 to a servlet
container
Hi,
I have an Apache HTTPD 2 running on my server, serving my
website on the port 80. I have also a
Hi,
I have an Apache HTTPD 2 running on my server, serving my
website on the port 80. I have also a servlet container on that
machine, listening to the port 1234 (the real is different of
course.) The interesting pages on this container are available
at http://www.mysite.com:1234/ctnr/app/i
16 matches
Mail list logo