httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Georges <>
Subject Re: [users@httpd] Redirect a whole site from port 80 to a servlet container
Date Wed, 25 Mar 2009 13:55:58 GMT

Richard Peacock wrote:

> The lines you put in you conf file would be something like:

> ProxyRequests Off
> ProxyPass /app1/

  It seems I misunderstood something...  I created a new site
file for the new domain name, say, and used a2ensite
successfully.  The file contains the following:


        ProxyRequests Off
        ProxyPass / http://localhost:1234/container/app/

  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:

    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


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message