Initially make sure that your Rewrite module and the proxy modules are loaded and enabled.
If you are using Debian System
Enable rewrite, proxy etc, modules
# a2enmod rewrite
# a2enmod proxy
# a2enmod proxy_http
# a2enmod proxy_balancer
These four steps enabled the required modules for us. Now edit the apache2.conf file (httpd.conf) file so that the RewriteRule will write the zope contents to client browser through apache Web server,
Apache2.conf file:
vi /etc/apache2.conf
######### MY CONFIGURATION FOR ZOPE AND APACHE2 STARTS HERE ##############
NameVirtualHost *:80
ServerAdmin sysadmin@bosslinux.in
ServerName mirror.indraveni
ServerAlias www.mirror.indraveni
DocumentRoot /var/www
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
ServerAdmin sysadmin@bosslinux.in
ServerName indraveni
ServerAlias indraveni
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8081/VirtualHostBase/http/indraveni:80/cdac/VirtualHostRoot/$1 [L,P]
ErrorLog /var/log/apache2/bosslinux/error.log
CustomLog /var/log/apache2/bosslinux/access.log combined
###################### CONFIGURATION ENDS ##################################
And also I edited my proxy.conf file
# cat /etc/apache2/mods-enabled/proxy.conf
ProxyRequests Off
AddDefaultCharset off
Order deny,allow
Deny from all
Allow from all ---- this line has to be added
ProxyVia On
Now you can access your plone site using your hostname , here indraveni.