Zope3 behind Apache: .htaccess configuration

You can add the following to the .htaccess of the domain you want Zope3 to reside behind.

/httpdocs/.htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^(.*) \
  http://localhost:8080/++vh++http:%{SERVER_NAME}:80/++/$1 [P,L]

It is almost literally a copy of example 17.3.2 from Philipp von Weitershausen’s book. The only 2 differences are the RewriteBase line and the fact that it’s in a .htaccess and not in apache2-rewrite.conf.

PS – I’m still wondering when the demo section will go live.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: