Florent Is there a file (such as index.html) or another default document defined on the second site? 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. :) -----Original Message----- From: Florent Georges [mailto:lists@xxxxxxxxxxxx] Sent: 25 March 2009 13:56 To: Richard Peacock Cc: users@xxxxxxxxxxxxxxxx Subject: Re: 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 /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. The file contains the following: NameVirtualHost www.new.com:80 <VirtualHost www.new.com:80> ProxyRequests Off ProxyPass / http://localhost:1234/container/app/ </VirtualHost> I used a2enmod successfully for both proxy and proxy_http, stopped and started again Apache. When I try to access either website (with the new or the original domain name,) I get a "403 Forbidden" error: Forbidden You don't have permission to access / on this server. If I a2dissite, stop then start, I can access the original site again. But I cannot figure how to configure the new site. I don't have any clue. Any thought? Thanks for your help. Regards, -- Florent Georges http://www.fgeorges.org/ ********************************************************************** Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you must not copy, distribute or take any action in reliance to it. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Minorplanet Systems plc shall be understood as neither given nor endorsed by it. Minorplanet Systems plc, Registration no: 3372097 Minorplanet Limited, Registration no: 4072786 Greenwich House, 223 North Street, Leeds, LS7 2AA VAT #: 698 1438 86 ********************************************************************** --------------------------------------------------------------------- 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