Plone, Apache2, and ISPConfig

Discussion in 'Server Operation' started by dekat, Dec 10, 2007.

  1. dekat

    dekat New Member

    Season's Greetings Everyone!

    I'd like help getting plone to work with apache2 and ISPConfig on my Ubuntu 7.10.

    Here's the deal:

    1. I have one Web site ( on apache and located at /var/www/web1/web

    2. I created another Web site, site2 ( located at /var/www/web2/web

    3. I created a plone instance site2, and accessible at

    4. I would now like to have the address point to the plone instance site2

    I've looked at some examples (, enabled the relevant apache modules, and tried my hand at rewrite rules, but its just not working out. I'd thus appreciate it if any one can provide me some pointers or copies of configurations that have worked for them under similar circumstances.

    Thanks in advance for your help.

  2. falko

    falko Super Moderator ISPConfig Developer

  3. dekat

    dekat New Member

    Hi Falko,

    I tried the forward feature of ISPConfig, but it didn't quite work out. Thus, creating a new forward to did not get me to the plone site. I also looked at the Apache directives documentation you linked to, but I couldn't see any code that I could use for me needs.

    For your information, here's the relevant snippet from my Vhosts_ispconfig.conf file (with real names replaced by site2):

    <VirtualHost site2-ipaddress:80>
    RewriteEngine On
    RewriteRule ^($|/.*)$1 [L,P]
    # DocumentRoot /var/www/web2/web

    What am I doing wrong?

  4. falko

    falko Super Moderator ISPConfig Developer

    Try this:

    RewriteEngine On
    RewriteRule ^(.*)$$1 [L,P]
    Of course, will work only on localhost, not from another computer.
  5. dekat

    dekat New Member

    Hi Falko,

    I tried the above, and ended with an error message:

    You don't have permission to access / on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    For your information, I included in my /etc/hosts file (so would also resolve to it), and still got the above message.

    My additional questions is: what happens if I add another, or more plone sites? Would I have to add additional rewrite rules for them, and if so what format would they take?

    Again, thanks in advance for your help.


Share This Page