Submitted by شخص خجول مجهول on Sat, 23/09/2006 - 06:24.
( categories: )

Hi I had a problem for serving html pages with apache that located in the documentroot /var/www/html. I followed in setting up plone with apache the "plone-with-apache-1.3" tutorial in http://plone.org and I got plone site when I type http://localhost/plone but apache is serving the htmls in the document root no moreI followed "Mixing Local Apache and Proxyed Content" tutorial but it still not working

I tried to add a new entry for the apache root, still not working, this is my virtualhost definition: ServerName localhost ServerAlias localhost DocumentRoot /var/www/html ServerAdmin root:mylove@localhost ProxyPass / http://localhost:8080/VirtualHostBase/https/localhost:443/MohPlone/VirtualHostRoot/ #ProxyPass / http://localhost:8080/VirtualHostBase/http/localhost:80/MohPlone/VirtualHostRoot/ ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/localhost:80/MohPlone/VirtualHostRoot/

And this is the rewrite rule I used: RewriteEngine On

RewriteRule ^/localhost(.*) http://localhost:8080/VirtualHostBase/http/localhost:80/VirtualHostRoot/_vh_loocalhost$1 P,L

RewriteCond %{REQUEST_URI} !^/html(.*) RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/localhost:80/MohPlone/VirtualHostRoot/$1 P,L

And this is the new entry I added: ServerAdmin root:mylove@localhost # DocumentRoot /var/www/html # ProxyPass /MohPlone/ http://localhost:8080/VirtualHostBase/https/localhost:443/MohPlone/#VirtualHostRoot/_vh_MohPlone/ # ServerName 127.0.0.1 # ErrorLog /var/www/html/log

thanks in advance


Create only one

MSameer's picture

Create only one VirtualHost with the ProxyPass directive

ProxyPass /plone http://localhost:8080


WWW: The place for organized randoms!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.