[Seaside] Fwd: problems installing pier/apache2

Tudor Girba tudor at tudorgirba.com
Thu Sep 20 04:57:11 UTC 2012


I am forwarding the message here given that the problem is not Pier specific.

Any ideas?


---------- Forwarded message ----------
From: Tudor Girba <tudor at tudorgirba.com>
Date: Wed, Sep 19, 2012 at 10:34 PM
Subject: problems installing pier/apache2
To: "Magritte, Pier and Related Tools ..." <smallwiki at iam.unibe.ch>


I am having troubles installing Pier with Apache2 on a virtual host
running Debian 6.

On this server, there is a Plesk running. When I go explicitly on port
www.example.com:8081, the site appears. However, when I go on
www.example.com I get the default webpage of Plesk. How can I disable
this Plesk default webpage and let apache do its job?

I have the following apache config that is properly placed in
sites-available and linked from sites-enabled (there is no other link
in sites-enabled):
<VirtualHost *:80>
  # set serer name
  ProxyPreserveHost On
  ServerName www.example.com

  # connfigure static file serving
  DocumentRoot /srv/web
  <Directory /srv/web>
    Order deny,allow
    Allow from all

  # rewrite incoming requests
  RewriteEngine On
  RewriteRule ^/pier(.*)$ http://www.example.com$1 [redirect,last]
  RewriteRule ^/files/(.*)$ http://localhost:8081/files/$1 [proxy,last]
  RewriteCond /srv/web/%{REQUEST_FILENAME} !-f
  RewriteRule ^/(.*)$ http://localhost:8081/pier/$1 [proxy,last]



"Every thing has its own flow"

More information about the seaside mailing list