Re: Redirect a whole site from port 80 to a servlet container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 25, 2009 at 3:34 PM, Florent Georges <lists@xxxxxxxxxxxx> 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/app/ I get the page.  In addition, even the original website does not work anymore (which that should not change because of the new site.)

I asume you have eitehr debian or a debian derived distro like ubuntu,
from your references to a2enmod and a2ensite.

Under debian the default apache config doesn't allow proxying. See the
file /etc/apache2/mods-enabled/proxy.conf.
Thsi is to avoid you creating an open relay by accident.

So you need to enable it explicitely for your virtualhost.

Ad the following in your VirtualHost block:

<Proxy /*>
Order deny, allow
Allow from All
</Proxy>

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux