httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Peacock" <richard.peac...@minorplanet.com>
Subject RE: [users@httpd] Redirect a whole site from port 80 to a servlet container
Date Wed, 25 Mar 2009 15:10:58 GMT
>From what I understand, ProxyPass does this for you. In their example on
httpd.apache.org you can get a better idea how it works then I could
describe!

QUOTE:
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.
END QUOTE.

Richard.



-----Original Message-----
From: Florent Georges [mailto:lists@fgeorges.org] 
Sent: 25 March 2009 14:56
To: users@httpd.apache.org
Subject: Re: [users@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 change anything.  But I wonder, how do you
make the difference between both websites, both domain names if you
don't use virtual hosts?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
























      

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


Mime
View raw message