[Seaside] Wrong Domain-Name using Apache as Reverse Proxy

Boris Popov boris at deepcovelabs.com
Mon Jan 29 21:42:58 UTC 2007

<Location /online>
 Order deny, allow
 Allow from all
 # Proxy all requests to /online down to the actual host running Seaside
 ProxyRequests Off
 ProxyPreserveHost On

That works for me, although you can just set the server hostname in the
application properties as well if you can't figure out Apache's side of

(self registerAsApplication: 'online')
  preferenceAt: #serverHostname put: 'www.mybeautifuldomain.com';

Hope this helps,


DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Adrian
Sent: Monday, January 29, 2007 1:32 PM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] Wrong Domain-Name using Apache as Reverse Proxy


Now I got finally running seaside behind an apache-1.3-reverse-proxy..
(was not too hard)

But there is a problem now.. I get the wrong links. The links I am
seeing on the site have the domain of the server where the image is
running.. but they need to have the domain of the server where apache
is running.

The links in the site look like this:

a href="" is the address of the machine where the image is running
(as seen from the webserver where the apache reverse-proxy is running)

Should be like this:

a href="http://mybeautifuldomain.com/seaside/store"

Can I tell seaside to use another domain to construct the links?

Thank you
Seaside mailing list
Seaside at lists.squeakfoundation.org

More information about the Seaside mailing list